[lld] 5fda192 - test: repair lld builder

Saleem Abdulrasool via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 8 20:14:14 PDT 2020


Author: Saleem Abdulrasool
Date: 2020-06-08T20:13:54-07:00
New Revision: 5fda192fed14d2024dd774e24a50d8208a654359

URL: https://github.com/llvm/llvm-project/commit/5fda192fed14d2024dd774e24a50d8208a654359
DIFF: https://github.com/llvm/llvm-project/commit/5fda192fed14d2024dd774e24a50d8208a654359.diff

LOG: test: repair lld builder

Add the explicit `-arch x86_64` to the invocation.

Added: 
    

Modified: 
    lld/test/MachO/invalid/stub-link.s
    lld/test/MachO/stub-link.s

Removed: 
    


################################################################################
diff  --git a/lld/test/MachO/invalid/stub-link.s b/lld/test/MachO/invalid/stub-link.s
index f1c159037024..7f881036d992 100644
--- a/lld/test/MachO/invalid/stub-link.s
+++ b/lld/test/MachO/invalid/stub-link.s
@@ -3,7 +3,7 @@
 # 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
+# RUN: not lld -flavor darwinnew -arch x86_64 -o %t/test -Z -L%S/../Inputs/iPhoneSimulator.sdk/usr/lib -lSystem %t/test.o 2>&1 | FileCheck %s
 
 # CHECK: error: undefined symbol __cache_handle_memory_pressure_event
 

diff  --git a/lld/test/MachO/stub-link.s b/lld/test/MachO/stub-link.s
index 1bf65c46a787..65bd642638a8 100644
--- a/lld/test/MachO/stub-link.s
+++ b/lld/test/MachO/stub-link.s
@@ -3,7 +3,7 @@
 # RUN: mkdir -p %t
 #
 # RUN: llvm-mc -filetype obj -triple x86_64-apple-darwin %s -o %t/test.o
-# RUN: lld -flavor darwinnew -o %t/test -Z -L%S/Inputs/MacOSX.sdk/usr/lib -lSystem %t/test.o
+# RUN: lld -flavor darwinnew -arch x86_64 -o %t/test -Z -L%S/Inputs/MacOSX.sdk/usr/lib -lSystem %t/test.o
 #
 # RUN: llvm-objdump --bind --no-show-raw-insn -d -r %t/test | FileCheck %s
 


        


More information about the llvm-commits mailing list