1## FIXME: This test seems to be failing on some Google Mac buildbots for 2## unclear reasons, so it's disabled for now. See D85404 for details. 3# UNSUPPORTED: darwin 4# REQUIRES: x86 5 6# RUN: mkdir -p %t 7# 8# RUN: llvm-mc -filetype obj -triple x86_64-apple-ios %s -o %t/test.o 9# RUN: not lld -flavor darwinnew -o %t/test -syslibroot %S/../Inputs/iPhoneSimulator.sdk -lSystem %t/test.o 2>&1 | FileCheck %s 10 11# CHECK-DAG: error: undefined symbol __cache_handle_memory_pressure_event 12# CHECK-DAG: error: undefined symbol _from_non_reexported_tapi_dylib 13 14.section __TEXT,__text 15.global _main 16 17_main: 18 movq __cache_handle_memory_pressure_event@GOTPCREL(%rip), %rax 19 movq _from_non_reexported_tapi_dylib@GOTPCREL(%rip), %rax 20 ret 21