blob: 8160ff69e07196fcba11088b537f0cdc9be41393 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# REQUIRES: x86
# RUN: mkdir -p %t
#
# RUN: llvm-mc -filetype obj -triple x86_64-apple-ios %s -o %t/test.o
# RUN: not lld -flavor darwinnew -o %t/test -Z -L%S/../Inputs/iPhoneSimulator.sdk/usr/lib -lSystem %t/test.o 2>&1 | FileCheck %s
# CHECK-DAG: error: undefined symbol __cache_handle_memory_pressure_event
# CHECK-DAG: error: undefined symbol _from_non_reexported_tapi_dylib
.section __TEXT,__text
.global _main
_main:
movq __cache_handle_memory_pressure_event@GOTPCREL(%rip), %rax
movq _from_non_reexported_tapi_dylib@GOTPCREL(%rip), %rax
ret
|