1 ## Test that macho2yaml dumps the __debug_foo section (unrecognized debug section)
2 ## as a raw content section.
4 # RUN: yaml2obj %s | obj2yaml | FileCheck %s --check-prefix=UNRECOGNIZED
6 # UNRECOGNIZED: Sections:
7 # UNRECOGNIZED-NEXT: - sectname: __debug_foo
8 # UNRECOGNIZED-NEXT: segname: __DWARF
9 # UNRECOGNIZED-NEXT: addr: 0x0
10 # UNRECOGNIZED-NEXT: size: 5
11 # UNRECOGNIZED-NEXT: offset: 0x210
12 # UNRECOGNIZED-NEXT: align: 0
13 # UNRECOGNIZED-NEXT: reloff: 0x0
14 # UNRECOGNIZED-NEXT: nreloc: 0
15 # UNRECOGNIZED-NEXT: flags: 0x0
16 # UNRECOGNIZED-NEXT: reserved1: 0x0
17 # UNRECOGNIZED-NEXT: reserved2: 0x0
18 # UNRECOGNIZED-NEXT: reserved3: 0x0
19 # UNRECOGNIZED-NEXT: content: '0123456789'
20 # UNRECOGNIZED-NEXT: ...
26 cpusubtype: 0x00000003
45 - sectname: __debug_foo