<div dir="ltr">There's nothing linux specific in the test that I can tell from a quick glance. You should be able to reproduce the behavior locally by using a triple when doing llc?<br><div><br></div><div>-eric</div></div><br><div class="gmail_quote">On Wed, Mar 25, 2015 at 9:44 AM Duncan P. N. Exon Smith <<a href="mailto:dexonsmith@apple.com">dexonsmith@apple.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I was thinking overnight about the best way to re-enable this for<br>
Darwin/Mach-O, since I don't think I can put target-specific tests in<br>
test/Linker.<br>
<br>
I'm planning to duplicate the test over to test/LTO/X86. I'll use the<br>
merged IR CHECKs only in test/Linker, and use the DWARF CHECKs only in<br>
test/LTO/X86. In both cases, I'll use the original (unmerged) IR files<br>
as input. (Testing from the merged IR in test/LTO/X86 seems like a bad<br>
option, since if/when we change what the correct merged result is, the<br>
testcase won't be interesting anymore.)<br>
<br>
Does this sound reasonable?<br>
<br>
> On 2015-Mar-25, at 08:23, Rafael Espíndola <<a href="mailto:rafael.espindola@gmail.com" target="_blank">rafael.espindola@gmail.com</a>> wrote:<br>
><br>
> Can you add an explicit triple to llc instead? That way we keep the<br>
> test going with MachO at least.<br>
><br>
> On 24 March 2015 at 22:43, Duncan P. N. Exon Smith <<a href="mailto:dexonsmith@apple.com" target="_blank">dexonsmith@apple.com</a>> wrote:<br>
>> Author: dexonsmith<br>
>> Date: Tue Mar 24 21:43:04 2015<br>
>> New Revision: 233165<br>
>><br>
>> URL: <a href="http://llvm.org/viewvc/llvm-project?rev=233165&view=rev" target="_blank">http://llvm.org/viewvc/llvm-<u></u>project?rev=233165&view=rev</a><br>
>> Log:<br>
>> Linker: Temporarily disable dwarfdump checks from r233164<br>
>><br>
>> At least one Linux bot [1] doesn't like my dwarfdump checks, so I've<br>
>> disable those until I can investigate what's going on there. I'll<br>
>> continue to track this in PR22792.<br>
>><br>
>> [1]: <a href="http://bb.pgr.jp/builders/cmake-llvm-x86_64-linux/builds/22863" target="_blank">http://bb.pgr.jp/builders/<u></u>cmake-llvm-x86_64-linux/<u></u>builds/22863</a><br>
>><br>
>> Modified:<br>
>> llvm/trunk/test/Linker/<u></u>subprogram-linkonce-weak.ll<br>
>><br>
>> Modified: llvm/trunk/test/Linker/<u></u>subprogram-linkonce-weak.ll<br>
>> URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Linker/subprogram-linkonce-weak.ll?rev=233165&r1=233164&r2=233165&view=diff" target="_blank">http://llvm.org/viewvc/llvm-<u></u>project/llvm/trunk/test/<u></u>Linker/subprogram-linkonce-<u></u>weak.ll?rev=233165&r1=233164&<u></u>r2=233165&view=diff</a><br>
>> ==============================<u></u>==============================<u></u>==================<br>
>> --- llvm/trunk/test/Linker/<u></u>subprogram-linkonce-weak.ll (original)<br>
>> +++ llvm/trunk/test/Linker/<u></u>subprogram-linkonce-weak.ll Tue Mar 24 21:43:04 2015<br>
>> @@ -96,9 +96,12 @@ entry:<br>
>> ; Crasher for llc.<br>
>> ; REQUIRES: object-emission<br>
>> ; RUN: %llc_dwarf -filetype=obj -O0 %t1 -o %t1.o<br>
>> -; RUN: llvm-dwarfdump %t1.o -debug-dump=info | FileCheck %s -check-prefix=DWLW<br>
>> +; RUNDISABLED: llvm-dwarfdump %t1.o -debug-dump=info | FileCheck %s -check-prefix=DWLW<br>
>> ; RUN: %llc_dwarf -filetype=obj -O0 %t2 -o %t2.o<br>
>> -; RUN: llvm-dwarfdump %t2.o -debug-dump=info | FileCheck %s -check-prefix=DWWL<br>
>> +; RUNDISABLED: llvm-dwarfdump %t2.o -debug-dump=info | FileCheck %s -check-prefix=DWWL<br>
>> +; Getting different dwarfdump output on different platforms, so I've<br>
>> +; temporarily disabled the Dwarf FileChecks while leaving in the crash tests.<br>
>> +; I'll keep using PR22792 to track this.<br>
>><br>
>> ; DWLW: DW_TAG_compile_unit<br>
>> ; DWLW: DW_AT_name {{.*}}"bar.c"<br>
>><br>
>><br>
>> ______________________________<u></u>_________________<br>
>> llvm-commits mailing list<br>
>> <a href="mailto:llvm-commits@cs.uiuc.edu" target="_blank">llvm-commits@cs.uiuc.edu</a><br>
>> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/<u></u>mailman/listinfo/llvm-commits</a><br>
<br>
<br>
______________________________<u></u>_________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu" target="_blank">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/<u></u>mailman/listinfo/llvm-commits</a><br>
</blockquote></div>