mirror of
				https://github.com/go-delve/delve.git
				synced 2025-10-31 02:36:18 +08:00 
			
		
		
		
	proc: interpret value of DW_AT_inline correctly (#2859)
All values greater than or equal to 1 indicate that the function has been inlined.
This commit is contained in:
		 Alessandro Arzilli
					Alessandro Arzilli
				
			
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			 GitHub
						GitHub
					
				
			
						parent
						
							466f9b8c93
						
					
				
				
					commit
					d95f26c4bd
				
			| @ -2069,7 +2069,7 @@ func (bi *BinaryInfo) loadDebugInfoMapsCompileUnit(ctxt *loadDebugInfoMapsContex | |||||||
| 		case dwarf.TagSubprogram: | 		case dwarf.TagSubprogram: | ||||||
| 			inlined := false | 			inlined := false | ||||||
| 			if inval, ok := entry.Val(dwarf.AttrInline).(int64); ok { | 			if inval, ok := entry.Val(dwarf.AttrInline).(int64); ok { | ||||||
| 				inlined = inval == 1 | 				inlined = inval >= 1 | ||||||
| 			} | 			} | ||||||
|  |  | ||||||
| 			if inlined { | 			if inlined { | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user