From 5fda192fed14d2024dd774e24a50d8208a654359 Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Mon, 8 Jun 2020 19:22:02 -0700 Subject: [PATCH] test: repair lld builder Add the explicit `-arch x86_64` to the invocation. --- lld/test/MachO/invalid/stub-link.s | 2 +- lld/test/MachO/stub-link.s | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lld/test/MachO/invalid/stub-link.s b/lld/test/MachO/invalid/stub-link.s index f1c1590..7f88103 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 1bf65c4..65bd642 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 -- 2.7.4