<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.hoenzb
        {mso-style-name:hoenzb;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I’ll add “-mtriple=x86_64-apple-darwin”. Now it does not fail on Windows. Is it ok?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">+   ; RUN: llc -mtriple=x86_64-apple-darwin -filetype=obj -O0 < %s > %t<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">-    ; RUN: llc -filetype=obj -O0 < %s > %t<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">; RUN: llvm-dwarfdump %t | FileCheck %s<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><i><span style="color:teal">- Elena</span></i></b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p></o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Eric Christopher [mailto:echristo@gmail.com]
<br>
<b>Sent:</b> Tuesday, February 12, 2013 21:06<br>
<b>To:</b> David Blaikie<br>
<b>Cc:</b> Demikhovsky, Elena; Commit Messages and Patches for LLVM<br>
<b>Subject:</b> Re: line info test failure after commit 173592<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On Tue, Feb 12, 2013 at 10:06 AM, David Blaikie <<a href="mailto:dblaikie@gmail.com" target="_blank">dblaikie@gmail.com</a>> wrote:<o:p></o:p></p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">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.<o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">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.<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Probably should just make it target specific for now.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">-eric<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<p class="MsoNormal"><span class="hoenzb"><span style="color:#888888">- David</span></span><o:p></o:p></p>
<div>
<div>
<p class="MsoNormal"><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.<o:p></o:p></p>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div>
<p>---------------------------------------------------------------------<br>
Intel Israel (74) Limited</p>

<p>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></body>
</html>