brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.2 KiB · 3d14c34 Raw
44 lines · plain
1## This test verifies that a regular (non-zero-fill) section with zero offset 2## and zero size is not modifed, this behavior is consistent with cctools' strip.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:          023    fileoff:         15224    filesize:        025    maxprot:         726    initprot:        727    nsects:          128    flags:           029    Sections:30      - sectname:        __broken31        segname:         __DATA32        addr:            0x000000000000100033        size:            034        offset:          0x0000000035        align:           236        reloff:          0x0000000037        nreloc:          038        flags:           0x0000000039        reserved1:       0x0000000040        reserved2:       0x0000000041        reserved3:       0x0000000042        content:         ''43...44