1 # RUN: lld -flavor darwin -arch i386 -macosx_version_min 10.8 %s -r -o %t \
2 # RUN: && lld -flavor darwin -r %t -o %t2 -print_atoms | FileCheck %s
4 # Test linker can detect architecture without -arch option.
10 flags: [ MH_SUBSECTIONS_VIA_SYMBOLS ]
15 attributes: [ S_ATTR_PURE_INSTRUCTIONS, S_ATTR_SOME_INSTRUCTIONS ]
16 address: 0x0000000000000000
23 value: 0x0000000000000000
28 # CHECK: defined-atoms: