mirror of
				https://github.com/go-delve/delve.git
				synced 2025-10-31 02:36:18 +08:00 
			
		
		
		
	dwarfbuilder: fix makeAbbrevTable (#3665)
It did not terminate the section with the required 0 byte.
This commit is contained in:
		 Alessandro Arzilli
					Alessandro Arzilli
				
			
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			 GitHub
						GitHub
					
				
			
						parent
						
							26799555e5
						
					
				
				
					commit
					ff2f69343e
				
			| @ -244,6 +244,8 @@ func (b *Builder) makeAbbrevTable() []byte { | ||||
| 		leb128.EncodeUnsigned(&abbrev, 0) | ||||
| 	} | ||||
|  | ||||
| 	leb128.EncodeUnsigned(&abbrev, uint64(0)) | ||||
|  | ||||
| 	return abbrev.Bytes() | ||||
| } | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user