33 lines
		
	
	
		
			950 B
		
	
	
	
		
			YAML
		
	
	
	
			
		
		
	
	
			33 lines
		
	
	
		
			950 B
		
	
	
	
		
			YAML
		
	
	
	
| # RUN: yaml2obj %s -o %t
 | |
| # RUN: llvm-objcopy --strip-all --add-gnu-debuglink=%t %t %t.stripped
 | |
| # RUN: lldb-test object-file %t.stripped | FileCheck %s
 | |
| 
 | |
| # CHECK: Name: .debug_frame
 | |
| # CHECK-NEXT: Type: dwarf-frame
 | |
| 
 | |
| --- !ELF
 | |
| FileHeader:
 | |
|   Class:           ELFCLASS64
 | |
|   Data:            ELFDATA2LSB
 | |
|   Type:            ET_EXEC
 | |
|   Machine:         EM_X86_64
 | |
|   Entry:           0x00000000004003D0
 | |
| Sections:
 | |
|   - Name:            .text
 | |
|     Type:            SHT_PROGBITS
 | |
|     Flags:           [ SHF_ALLOC, SHF_EXECINSTR ]
 | |
|     Address:         0x00000000004003D0
 | |
|     AddressAlign:    0x0000000000000010
 | |
|     Content:         DEADBEEFBAADF00D
 | |
|   - Name:            .debug_frame
 | |
|     Type:            SHT_PROGBITS
 | |
|     AddressAlign:    0x0000000000000008
 | |
|     Content:         DEADBEEFBAADF00D
 | |
| Symbols:
 | |
|   - Name:            main
 | |
|     Type:            STT_FUNC
 | |
|     Section:         .text
 | |
|     Value:           0x00000000004003D0
 | |
|     Size:            0x0000000000000008
 | |
| ...
 |