<div dir="ltr">Thanks! I've seen a number of fixes like this periodically, but they don't seem to be the result of bot failures. Should there be a bot running these tests on a different arch as a cross-compiler to help catch these earlier?<div><br></div><div><div>Teresa<br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Nov 11, 2016 at 6:12 AM, John Brawn via llvm-commits <span dir="ltr"><<a href="mailto:llvm-commits@lists.llvm.org" target="_blank">llvm-commits@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: john.brawn<br>
Date: Fri Nov 11 08:12:15 2016<br>
New Revision: 286593<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=286593&view=rev" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-pr<wbr>oject?rev=286593&view=rev</a><br>
Log:<br>
Fix test/tools/gold/X86/thinlto_fu<wbr>ncimport.ll on non-X86 hosts<br>
<br>
Pass -m elf_x86_64 to gold, as is done in other tests.<br>
<br>
Modified:<br>
llvm/trunk/test/tools/gold/X86<wbr>/thinlto_funcimport.ll<br>
<br>
Modified: llvm/trunk/test/tools/gold/X86<wbr>/thinlto_funcimport.ll<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/X86/thinlto_funcimport.ll?rev=286593&r1=286592&r2=286593&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-pr<wbr>oject/llvm/trunk/test/tools/go<wbr>ld/X86/thinlto_funcimport.ll?r<wbr>ev=286593&r1=286592&r2=286593&<wbr>view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- llvm/trunk/test/tools/gold/X86<wbr>/thinlto_funcimport.ll (original)<br>
+++ llvm/trunk/test/tools/gold/X86<wbr>/thinlto_funcimport.ll Fri Nov 11 08:12:15 2016<br>
@@ -2,7 +2,7 @@<br>
; RUN: opt -module-summary %s -o %t1.bc<br>
; RUN: opt -module-summary %p/Inputs/thinlto_funcimport.l<wbr>l -o %t2.bc<br>
<br>
-; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \<br>
+; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold.so \<br>
; RUN: --plugin-opt=save-temps \<br>
; RUN: --plugin-opt=thinlto \<br>
; RUN: -shared %t1.bc %t2.bc -o %t<br>
@@ -11,7 +11,7 @@<br>
<br>
; We shouldn't do any importing at -O0<br>
; rm -f %t2.bc.3.import.bc<br>
-; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \<br>
+; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold.so \<br>
; RUN: --plugin-opt=save-temps \<br>
; RUN: --plugin-opt=thinlto \<br>
; RUN: --plugin-opt=O0 \<br>
<br>
<br>
______________________________<wbr>_________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@lists.llvm.org" target="_blank">llvm-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-commits</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="m_1243074673321117870m_6754984373996616396gmail_signature" data-smartmail="gmail_signature"><span style="font-family:Times;font-size:medium"><table cellspacing="0" cellpadding="0"><tbody><tr style="color:rgb(85,85,85);font-family:sans-serif;font-size:small"><td nowrap style="border-top-style:solid;border-top-color:rgb(213,15,37);border-top-width:2px">Teresa Johnson |</td><td nowrap style="border-top-style:solid;border-top-color:rgb(51,105,232);border-top-width:2px"> Software Engineer |</td><td nowrap style="border-top-style:solid;border-top-color:rgb(0,153,57);border-top-width:2px"> <a href="mailto:tejohnson@google.com" target="_blank">tejohnson@google.com</a> |</td><td nowrap style="border-top-style:solid;border-top-color:rgb(238,178,17);border-top-width:2px"> <a href="tel:(408)%20460-2413" value="+14084602413" target="_blank">408-460-2413</a></td></tr></tbody></table></span></div>
</div></div></div></div>