52 lines · plain
1#RUN: yaml2obj %s -o %t1.dylib2#RUN: not llvm-objdump -d %t1.dylib 2>&1 | FileCheck %s3 4--- !mach-o5FileHeader:6 magic: 0xFEEDFACF7 cputype: 0x010000078 cpusubtype: 0x800000039 filetype: 0x0000000210 ncmds: 211 sizeofcmds: 10412 flags: 0x0020008513 reserved: 0x0000000014LoadCommands:15 - cmd: LC_SYMTAB16 cmdsize: 2417 symoff: 13618 nsyms: 319 stroff: 020 strsize: 021 - cmd: LC_DYSYMTAB22 cmdsize: 8023 ilocalsym: 024 nlocalsym: 025 iextdefsym: 426#CHECK: truncated or malformed object (iextdefsym in LC_DYSYMTAB load command extends past the end of the symbol table)27 nextdefsym: 228 iundefsym: 229 nundefsym: 130 tocoff: 031 ntoc: 032 modtaboff: 033 nmodtab: 034 extrefsymoff: 035 nextrefsyms: 036 indirectsymoff: 037 nindirectsyms: 038 extreloff: 039 nextrel: 040 locreloff: 041 nlocrel: 042LinkEditData:43 StringTable:44 - ' '45 - __mh_execute_header46 - _main47 - dyld_stub_binder48 - ''49 - ''50 - ''51...52