1 # RUN: not ld64.lld -arch x86_64 -r %s 2>&1 | FileCheck %s
3 # The file is built for the host, but the objc image info flags are for
9 flags: [ MH_SUBSECTIONS_VIA_SYMBOLS ]
16 section: __objc_imageinfo
18 attributes: [ S_ATTR_NO_DEAD_STRIP ]
19 address: 0x0000000000000100
20 content: [ 0x00, 0x00, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00 ]
23 # CHECK: {{.*}} cannot be linked. It contains ObjC built for the simulator while we are linking a non-simulator target