1# RUN: ld64.lld -arch x86_64 -macosx_version_min 10.8 %s -dylib \
2# RUN:    %p/Inputs/x86_64/libSystem.yaml -o %t \
3# RUN: && llvm-objdump --private-headers %t | FileCheck %s
4#
5
6--- !mach-o
7arch:            x86_64
8file-type:       MH_OBJECT
9flags:           [ MH_SUBSECTIONS_VIA_SYMBOLS ]
10sections:
11  - segment:         __TEXT
12    section:         __text
13    type:            S_REGULAR
14    attributes:      [  ]
15    address:         0x0000000000000000
16    content:         [ 0x55, 0x48, 0x89, 0xE5, 0x8B, 0x05, 0x00, 0x00,
17                       0x00, 0x00, 0x03, 0x05, 0x00, 0x00, 0x00, 0x00,
18                       0x5D, 0xC3 ]
19global-symbols:
20  - name:            _get
21    type:            N_SECT
22    scope:           [ N_EXT ]
23    sect:            1
24    value:           0x0000000000000000
25
26...
27
28
29# CHECK:  PURE_INSTRUCTIONS SOME_INSTRUCTIONS
30
31