22 lines · plain
1## FIXME: This test seems to be failing on some Google Mac buildbots for2## unclear reasons, so it's disabled for now. See D85404 for details.3# UNSUPPORTED: target={{.*}}-darwin{{.*}}4# REQUIRES: target=x86{{.*}}5 6# RUN: mkdir -p %t7#8# RUN: llvm-mc -filetype obj -triple x86_64-apple-ios %s -o %t/test.o9# RUN: not %no-arg-lld -arch x86_64 -platform_version ios 14.0 15.0 -o %t/test \10# RUN: -syslibroot %S/../Inputs/iPhoneSimulator.sdk -lSystem %t/test.o 2>&1 | FileCheck %s11 12# CHECK-DAG: error: undefined symbol: __cache_handle_memory_pressure_event13# CHECK-DAG: error: undefined symbol: _from_non_reexported_tapi_dylib14 15.section __TEXT,__text16.global _main17 18_main:19 movq __cache_handle_memory_pressure_event@GOTPCREL(%rip), %rax20 movq _from_non_reexported_tapi_dylib@GOTPCREL(%rip), %rax21 ret22