[llvm] r311780 - [gold] Fix up a new test to allow it to pass on non x86 builds.

David Green via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 25 09:14:56 PDT 2017


Author: dmgreen
Date: Fri Aug 25 09:14:56 2017
New Revision: 311780

URL: http://llvm.org/viewvc/llvm-project?rev=311780&view=rev
Log:
[gold] Fix up a new test to allow it to pass on non x86 builds.

Fix a test that is failing on a downstream ARM/AArch64
bootstrap. We just need add an elf_x86_64 parameter to
gold.


Modified:
    llvm/trunk/test/tools/gold/X86/relocatable.ll

Modified: llvm/trunk/test/tools/gold/X86/relocatable.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/X86/relocatable.ll?rev=311780&r1=311779&r2=311780&view=diff
==============================================================================
--- llvm/trunk/test/tools/gold/X86/relocatable.ll (original)
+++ llvm/trunk/test/tools/gold/X86/relocatable.ll Fri Aug 25 09:14:56 2017
@@ -1,5 +1,5 @@
 ; RUN: llvm-as %s -o %t1.o
-; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \
+; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold.so \
 ; RUN:    -r %t1.o -o %t
 ; RUN: llvm-readobj -symbols %t | FileCheck %s
 




More information about the llvm-commits mailing list