<p dir="ltr"><br>
On Feb 13, 2013 12:25 AM, "Demikhovsky, Elena" <<a href="mailto:elena.demikhovsky@intel.com">elena.demikhovsky@intel.com</a>> wrote:<br>
><br>
> I’ll add “-mtriple=x86_64-apple-darwin”. Now it does not fail on Windows. Is it ok?</p>
<p dir="ltr">Yep, that'll be fine, thanks. Please commit.</p>
<p dir="ltr">David</p>
<p dir="ltr">><br>
> <br>
><br>
> + ; RUN: llc -mtriple=x86_64-apple-darwin -filetype=obj -O0 < %s > %t<br>
><br>
> - ; RUN: llc -filetype=obj -O0 < %s > %t<br>
><br>
> ; RUN: llvm-dwarfdump %t | FileCheck %s<br>
><br>
> <br>
><br>
> - Elena<br>
><br>
> From: Eric Christopher [mailto:<a href="mailto:echristo@gmail.com">echristo@gmail.com</a>] <br>
> Sent: Tuesday, February 12, 2013 21:06<br>
> To: David Blaikie<br>
> Cc: Demikhovsky, Elena; Commit Messages and Patches for LLVM<br>
><br>
> Subject: Re: line info test failure after commit 173592<br>
><br>
> <br>
><br>
> <br>
><br>
> <br>
><br>
> On Tue, Feb 12, 2013 at 10:06 AM, David Blaikie <<a href="mailto:dblaikie@gmail.com">dblaikie@gmail.com</a>> wrote:<br>
><br>
> On Tue, Feb 12, 2013 at 6:51 AM, Demikhovsky, Elena<br>
> <<a href="mailto:elena.demikhovsky@intel.com">elena.demikhovsky@intel.com</a>> wrote:<br>
> > Hi David,<br>
> ><br>
> > Did you look at this failure? I attached the tmp file again.<br>
><br>
> Sorry, I believe the general idea is that llvm-dwarfdump doesn't<br>
> support COFF relocations. You/we/someone could add them and/or we<br>
> could make this test case target-specific so it doesn't get muddled up<br>
> by COFF until someone does that.<br>
><br>
> <br>
><br>
> Probably should just make it target specific for now.<br>
><br>
> <br>
><br>
> -eric<br>
><br>
> <br>
>><br>
>> - David<br>
>><br>
>><br>
>> ><br>
>> > Thanks.<br>
>> ><br>
>> > - Elena<br>
>> > -----Original Message-----<br>
>> > From: David Blaikie [mailto:<a href="mailto:dblaikie@gmail.com">dblaikie@gmail.com</a>]<br>
>> > Sent: Tuesday, January 29, 2013 18:27<br>
>> > To: Demikhovsky, Elena; Eric Christopher<br>
>> > Cc: Commit Messages and Patches for LLVM<br>
>> > Subject: Re: line info test failure after commit 173592<br>
>> ><br>
>> > Hi Elena,<br>
>> ><br>
>> > (just a note: it's usually best to reply directly to a commit email you're discussing - keeps all the context together)<br>
>> ><br>
>> >> I have the following failure, do you know what's wrong?<br>
>> ><br>
>> > It's not obvious to me from the log information you've provided. Could you attach the "<br>
>> > W:\LLVM_org\build64\test\DebugInfo\Output\line-info.ll.tmp" file?<br>
>> ><br>
>> > Eric - are those relocation errors likely to be causing problems in the dwarfdump output? I assume so. Easy to fix?<br>
>> ><br>
>> >><br>
>> >> FAIL: LLVM :: DebugInfo/line-info.ll (3741 of 7215)<br>
>> >> 84> ******************** TEST 'LLVM :: DebugInfo/line-info.ll' FAILED<br>
>> >> 84> ********************<br>
>> >> 84> Script:<br>
>> >> 84> --<br>
>> >> 84> W:/LLVM_org/build64/bin/Debug/llc.EXE -filetype=obj -O0 <<br>
>> >> 84> W:\LLVM_org\llvm\test\DebugInfo\line-info.ll ><br>
>> >> 84> W:\LLVM_org\build64\test\DebugInfo\Output\line-info.ll.tmp<br>
>> >> 84> W:/LLVM_org/build64/bin/Debug/llvm-dwarfdump.EXE<br>
>> >> 84> W:\LLVM_org\build64\test\DebugInfo\Output\line-info.ll.tmp |<br>
>> >> 84> W:/LLVM_org/build64/bin/Debug/FileCheck.EXE<br>
>> >> 84> W:\LLVM_org\llvm\test\DebugInfo\line-info.ll<br>
>> >> 84> --<br>
>> >> 84> Exit Code: 1<br>
>> >> 84> Command Output (stdout):<br>
>> >> 84> --<br>
>> >> 84> Command 0: "W:/LLVM_org/build64/bin/Debug/llc.EXE" "-filetype=obj" "-O0"<br>
>> >> 84> Command 0 Result: 0<br>
>> >> 84> Command 0 Output:<br>
>> >> 84> None<br>
>> >> 84><br>
>> >> 84> Command 0 Stderr:<br>
>> >> 84><br>
>> >> 84><br>
>> >> 84> Command 1: "W:/LLVM_org/build64/bin/Debug/llvm-dwarfdump.EXE" "W:\LLVM_org\build64\test\DebugInfo\Output\line-info.ll.tmp"<br>
>> >> 84> Command 1 Result: 0<br>
>> >> 84> Command 1 Output:<br>
>> >> 84><br>
>> >> 84><br>
>> >> 84> Command 1 Stderr:<br>
>> >> 84>CUSTOMBUILD : error : failed to compute relocation:<br>
>> >> 84>IMAGE_REL_AMD64_SECREL CUSTOMBUILD : error : failed to compute<br>
>> >> 84>relocation: IMAGE_REL_AMD64_ADDR32 CUSTOMBUILD : error : failed to<br>
>> >> 84>compute relocation: IMAGE_REL_AMD64_ADDR32 CUSTOMBUILD : error :<br>
>> >> 84>failed to compute relocation: IMAGE_REL_AMD64_ADDR32 CUSTOMBUILD :<br>
>> >> 84>error : failed to compute relocation: IMAGE_REL_AMD64_ADDR32<br>
>> >> 84>CUSTOMBUILD : error : failed to compute relocation:<br>
>> >> 84>IMAGE_REL_AMD64_ADDR32 CUSTOMBUILD : error : failed to compute<br>
>> >> 84>relocation: IMAGE_REL_AMD64_ADDR64 CUSTOMBUILD : error : failed to<br>
>> >> 84>compute relocation: IMAGE_REL_AMD64_ADDR64 CUSTOMBUILD : error :<br>
>> >> 84>failed to compute relocation: IMAGE_REL_AMD64_ADDR32 CUSTOMBUILD :<br>
>> >> 84>error : failed to compute relocation: IMAGE_REL_AMD64_ADDR32<br>
>> >> 84>CUSTOMBUILD : error : failed to compute relocation:<br>
>> >> 84>IMAGE_REL_AMD64_ADDR32 CUSTOMBUILD : error : failed to compute<br>
>> >> 84>relocation: IMAGE_REL_AMD64_ADDR64 CUSTOMBUILD : error : failed to<br>
>> >> 84>compute relocation: IMAGE_REL_AMD64_ADDR64 CUSTOMBUILD : error :<br>
>> >> 84>failed to compute relocation: IMAGE_REL_AMD64_ADDR32<br>
>> >> 84><br>
>> >> 84><br>
>> >> 84> Command 2: "W:/LLVM_org/build64/bin/Debug/FileCheck.EXE" "W:\LLVM_org\llvm\test\DebugInfo\line-info.ll"<br>
>> >> 84> Command 2 Result: 1<br>
>> >> 84> Command 2 Output:<br>
>> >> 84><br>
>> >> 84><br>
>> >> 84> Command 2 Stderr:<br>
>> >> 84> W:\LLVM_org\llvm\test\DebugInfo\line-info.ll:4:10: error:<br>
>> >> 84> expected string not found in input ; CHECK: 2 0 1 0 is_stmt<br>
>> >> 84> ^<br>
>> >> 84> <stdin>:1:1: note: scanning from here<br>
>> >> 84> W:\LLVM_org\build64\test\DebugInfo\Output\line-info.ll.tmp: file<br>
>> >> 84> format COFF-x86-64 ^<br>
>> >> 84> <stdin>:107:1: note: possible intended match here<br>
>> >> 84> default_is_stmt: 1<br>
>> >> 84> ^<br>
>> >> 84><br>
>> >> 84><br>
>> >> 84> --<br>
>> >> 84><br>
>> >> 84> ********************<br>
>> >> 84><br>
>> >> 84> Testing Time: 89.45s<br>
>> >> 84> ********************<br>
>> >> 84> Failing Tests (1):<br>
>> >> 84> LLVM :: DebugInfo/line-info.ll<br>
>> >> ---------------------------------------------------------------------<br>
>> >> Intel Israel (74) Limited<br>
>> >><br>
>> >> This e-mail and any attachments may contain confidential material for<br>
>> >> the sole use of the intended recipient(s). Any review or distribution<br>
>> >> by others is strictly prohibited. If you are not the intended<br>
>> >> recipient, please contact the sender and delete all copies.<br>
>> >><br>
>> > ---------------------------------------------------------------------<br>
>> > Intel Israel (74) Limited<br>
>> ><br>
>> > This e-mail and any attachments may contain confidential material for<br>
>> > the sole use of the intended recipient(s). Any review or distribution<br>
>> > by others is strictly prohibited. If you are not the intended<br>
>> > recipient, please contact the sender and delete all copies.<br>
><br>
> <br>
><br>
> ---------------------------------------------------------------------<br>
> Intel Israel (74) Limited<br>
><br>
> This e-mail and any attachments may contain confidential material for<br>
> the sole use of the intended recipient(s). Any review or distribution<br>
> by others is strictly prohibited. If you are not the intended<br>
> recipient, please contact the sender and delete all copies.</p>