summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools
diff options
context:
space:
mode:
authorTeresa Johnson <tejohnson@google.com>2016-03-04 21:19:08 +0000
committerTeresa Johnson <tejohnson@google.com>2016-03-04 21:19:08 +0000
commit5d07531d0235f4ea8e497c2b11f4cbd9ab09680d (patch)
treecf2f0835255e88ca1ce28ddf4c6448c9eacb3ecc /llvm/test/tools
parentbf4d18d3d28c061852169dd7241f23d6c2f04a3b (diff)
downloadbcm5719-llvm-5d07531d0235f4ea8e497c2b11f4cbd9ab09680d.tar.gz
bcm5719-llvm-5d07531d0235f4ea8e497c2b11f4cbd9ab09680d.zip
Fix new gold test to specify emulation mode.
The thinlto_linkonceresolution.ll gold linker test introduced in r262727 included a target triple, but didn't set the emulation mode, which is necessary since the default linker target may be different. Patch by H.J. Lu llvm-svn: 262745
Diffstat (limited to 'llvm/test/tools')
-rw-r--r--llvm/test/tools/gold/X86/thinlto_linkonceresolution.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/tools/gold/X86/thinlto_linkonceresolution.ll b/llvm/test/tools/gold/X86/thinlto_linkonceresolution.ll
index 044087b9809..e6ed95b4dfa 100644
--- a/llvm/test/tools/gold/X86/thinlto_linkonceresolution.ll
+++ b/llvm/test/tools/gold/X86/thinlto_linkonceresolution.ll
@@ -7,7 +7,7 @@
; so listing %t2.o first is sufficient to ensure that this copy is
; preempted. Also, set the import-instr-limit to 0 to prevent f() from
; being imported from %t2.o which hides the problem.
-; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \
+; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold.so \
; RUN: --plugin-opt=thinlto \
; RUN: --plugin-opt=-import-instr-limit=0 \
; RUN: --plugin-opt=save-temps \
OpenPOWER on IntegriCloud