1 # RUN: lld -flavor darwin -arch x86_64 -macosx_version_min 10.8 %s -o %t && \
2 # RUN: llvm-nm %t | FileCheck %s
4 # Test a mix of atoms and mach-o both encoded in yaml
12 content: [ 55, 48, 89, E5, 30, C0, E8, 00,
13 00, 00, 00, 31, C0, 5D, C3 ]
30 attributes: [ S_ATTR_PURE_INSTRUCTIONS ]
45 install-name: /usr/lib/libSystem.B.dylib
50 attributes: [ S_ATTR_PURE_INSTRUCTIONS, S_ATTR_SOME_INSTRUCTIONS ]
51 address: 0x0000000000000000
55 - name: dyld_stub_binder
59 value: 0x0000000000000000
64 # CHECK: {{[0-9a-f]+}} T _foo
65 # CHECK: {{[0-9a-f]+}} T _main