summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Brawn <john.brawn@arm.com>2016-11-11 14:12:15 +0000
committerJohn Brawn <john.brawn@arm.com>2016-11-11 14:12:15 +0000
commit3e0edbf2693c43f9376fa5eb567067483e6c3b89 (patch)
tree0cb7fde26f4c5e38787e0be680397c7dae4399da
parent10c7aaaee981ffe8d6f30bc999595e94ba303297 (diff)
downloadbcm5719-llvm-3e0edbf2693c43f9376fa5eb567067483e6c3b89.tar.gz
bcm5719-llvm-3e0edbf2693c43f9376fa5eb567067483e6c3b89.zip
Fix test/tools/gold/X86/thinlto_funcimport.ll on non-X86 hosts
Pass -m elf_x86_64 to gold, as is done in other tests. llvm-svn: 286593
-rw-r--r--llvm/test/tools/gold/X86/thinlto_funcimport.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/tools/gold/X86/thinlto_funcimport.ll b/llvm/test/tools/gold/X86/thinlto_funcimport.ll
index d00b42d54bb..fbfa0282508 100644
--- a/llvm/test/tools/gold/X86/thinlto_funcimport.ll
+++ b/llvm/test/tools/gold/X86/thinlto_funcimport.ll
@@ -2,7 +2,7 @@
; RUN: opt -module-summary %s -o %t1.bc
; RUN: opt -module-summary %p/Inputs/thinlto_funcimport.ll -o %t2.bc
-; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \
+; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold.so \
; RUN: --plugin-opt=save-temps \
; RUN: --plugin-opt=thinlto \
; RUN: -shared %t1.bc %t2.bc -o %t
@@ -11,7 +11,7 @@
; We shouldn't do any importing at -O0
; rm -f %t2.bc.3.import.bc
-; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \
+; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold.so \
; RUN: --plugin-opt=save-temps \
; RUN: --plugin-opt=thinlto \
; RUN: --plugin-opt=O0 \
OpenPOWER on IntegriCloud