Home | History | Annotate | Download | only in X86
      1 # RUN: yaml2obj %s | not llvm-objdump -macho -private-headers -
      2 
      3 --- !mach-o
      4 FileHeader:
      5   magic:           0xFEEDFACF
      6   cputype:         0x01000007
      7   cpusubtype:      0x00000003
      8   filetype:        0x00000004
      9   ncmds:           2
     10   sizeofcmds:      192
     11   flags:           0x00000000
     12   reserved:        0
     13 LoadCommands:
     14   - cmd:             LC_SEGMENT_64
     15     cmdsize:         152
     16     segname:         __TEXT
     17     vmaddr:          4294967296
     18     vmsize:          8192
     19     fileoff:         0
     20     filesize:        3099
     21     maxprot:         7
     22     initprot:        5
     23     nsects:          1
     24     flags:           0
     25     Sections:
     26       - sectname:        __text
     27         segname:         __TEXT
     28         addr:            0x0000000100001160
     29         size:            3099
     30         offset:          0x00001160
     31         align:           4
     32         reloff:          0x00000000
     33         nreloc:          0
     34         flags:           0x80000400
     35         reserved1:       0x00000000
     36         reserved2:       0x00000000
     37         reserved3:       0x00000000
     38   - cmd:             LC_BUILD_VERSION
     39     cmdsize:         80
     40     platform:        2
     41     minos:           0x00080000
     42     sdk:             0x00090000
     43     ntools:          0
     44 ...
     45