From: John Brawn Date: Fri, 11 Nov 2016 14:12:15 +0000 (+0000) Subject: Fix test/tools/gold/X86/thinlto_funcimport.ll on non-X86 hosts X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=00180413cfc6b90661a37aa3f43bf252f0b76c23;p=llvm 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@286593 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/tools/gold/X86/thinlto_funcimport.ll b/test/tools/gold/X86/thinlto_funcimport.ll index d00b42d54bb..fbfa0282508 100644 --- a/test/tools/gold/X86/thinlto_funcimport.ll +++ b/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 \