43 lines · plain
1## This test verifies that a virtual section does not contribute to the final2## output size.3 4# RUN: yaml2obj %s -o %t5# RUN: llvm-objcopy %t %t.copy6# RUN: cmp %t %t.copy7 8--- !mach-o9FileHeader:10 magic: 0xFEEDFACE11 cputype: 0x0000000712 cpusubtype: 0x0000000313 filetype: 0x0000000114 ncmds: 115 sizeofcmds: 12416 flags: 0x0000200017LoadCommands:18 - cmd: LC_SEGMENT19 cmdsize: 12420 segname: __DATA21 vmaddr: 409622 vmsize: 409623 fileoff: 15224 filesize: 025 maxprot: 726 initprot: 727 nsects: 128 flags: 029 Sections:30 - sectname: __bss31 segname: __DATA32 addr: 0x000000000000100033 size: 409634 offset: 0x0000000035 align: 236 reloff: 0x0000000037 nreloc: 038 flags: 0x0000000139 reserved1: 0x0000000040 reserved2: 0x0000000041 reserved3: 0x0000000042...43