59 lines · yaml
1# RUN: yaml2obj %s -o %t.o2# RUN: not %lld -o %t %t.o 2>&1 | FileCheck %s3#4# CHECK: error: alignment 32 of section __text is too large5--- !mach-o6FileHeader:7 magic: 0xFEEDFACF8 cputype: 0x010000079 cpusubtype: 0x0000000310 filetype: 0x0000000111 ncmds: 412 sizeofcmds: 28013 flags: 0x0000000014 reserved: 0x0000000015LoadCommands:16 - cmd: LC_SEGMENT_6417 cmdsize: 15218 segname: ''19 vmaddr: 020 vmsize: 821 fileoff: 31222 filesize: 823 maxprot: 724 initprot: 725 nsects: 126 flags: 027 Sections:28 - sectname: __text29 segname: __TEXT30 addr: 0x000000000000000031 size: 832 offset: 0x0000013833 align: 3234 reloff: 0x0000000035 nreloc: 036 flags: 0x8000040037 reserved1: 0x0000000038 reserved2: 0x0000000039 reserved3: 0x0000000040 content: 48C7C000000000C341 - cmd: LC_SYMTAB42 cmdsize: 2443 symoff: 32044 nsyms: 145 stroff: 33646 strsize: 847LinkEditData:48 NameList:49 - n_strx: 150 n_type: 0x0F51 n_sect: 152 n_desc: 053 n_value: 054 StringTable:55 - ''56 - _main57 - ''58...59