[lld] 5d91698 - [lld-macho] Fix test breakage introduced by D97799
Jez Ng via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 3 14:32:21 PST 2021
Author: Jez Ng
Date: 2021-03-03T17:32:12-05:00
New Revision: 5d9169845b8906186a4a4fb6b193d3e463d97618
URL: https://github.com/llvm/llvm-project/commit/5d9169845b8906186a4a4fb6b193d3e463d97618
DIFF: https://github.com/llvm/llvm-project/commit/5d9169845b8906186a4a4fb6b193d3e463d97618.diff
LOG: [lld-macho] Fix test breakage introduced by D97799
Added:
Modified:
lld/test/MachO/invalid/stub-link.s
Removed:
################################################################################
diff --git a/lld/test/MachO/invalid/stub-link.s b/lld/test/MachO/invalid/stub-link.s
index 7dfa319fcf3c..ed38b5ec0c26 100644
--- a/lld/test/MachO/invalid/stub-link.s
+++ b/lld/test/MachO/invalid/stub-link.s
@@ -6,7 +6,8 @@
# RUN: mkdir -p %t
#
# RUN: llvm-mc -filetype obj -triple x86_64-apple-ios %s -o %t/test.o
-# RUN: not ld64.lld -o %t/test -syslibroot %S/../Inputs/iPhoneSimulator.sdk -lSystem %t/test.o 2>&1 | FileCheck %s
+# RUN: not ld64.lld -arch x86_64 -platform_version ios 14.0 15.0 -o %t/test \
+# RUN: -syslibroot %S/../Inputs/iPhoneSimulator.sdk -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
More information about the llvm-commits
mailing list