[PATCH] D37144: [gold] Fix up a new test to allow it to pass on non x86 builds.

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 25 06:08:20 PDT 2017


dmgreen created this revision.
Herald added subscribers: kristof.beyls, aemerson.

Same deal as https://reviews.llvm.org/D28285, the test is failing on
a downstream ARM/AArch64 bootstrap. We just need to add an
elf_x86_64 parameter to gold.


https://reviews.llvm.org/D37144

Files:
  test/tools/gold/X86/relocatable.ll


Index: test/tools/gold/X86/relocatable.ll
===================================================================
--- test/tools/gold/X86/relocatable.ll
+++ test/tools/gold/X86/relocatable.ll
@@ -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
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37144.112686.patch
Type: text/x-patch
Size: 422 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170825/cbe39a43/attachment.bin>


More information about the llvm-commits mailing list