Debian Codegraph @

llvm/test/tools/obj2yaml/ELF/DWARF/unrecognized-debug-section.yaml

raw
1 ## Test dumping a debug section when its name is not recognized by obj2yaml.
2
3 # RUN: yaml2obj %s | obj2yaml | FileCheck %s
4
5 # CHECK: Sections:
6 # CHECK-NEXT: - Name: .debug_foo
7 # CHECK-NEXT: Type: SHT_PROGBITS
8 # CHECK-NEXT: Content: '01020304'
9 # CHECK-NEXT: ...
10
11 --- !ELF
12 FileHeader:
13 Class: ELFCLASS64
14 Data: ELFDATA2LSB
15 Type: ET_EXEC
16 Sections:
17 - Name: .debug_foo
18 Type: SHT_PROGBITS
19 Content: '01020304'