line info test failure after commit 173592

Demikhovsky, Elena elena.demikhovsky at intel.com
Wed Feb 13 00:25:23 PST 2013


I’ll add “-mtriple=x86_64-apple-darwin”. Now it does not fail on Windows. Is it ok?

+   ; RUN: llc -mtriple=x86_64-apple-darwin -filetype=obj -O0 < %s > %t
-    ; RUN: llc -filetype=obj -O0 < %s > %t
; RUN: llvm-dwarfdump %t | FileCheck %s

- Elena
From: Eric Christopher [mailto:echristo at gmail.com]
Sent: Tuesday, February 12, 2013 21:06
To: David Blaikie
Cc: Demikhovsky, Elena; Commit Messages and Patches for LLVM
Subject: Re: line info test failure after commit 173592



On Tue, Feb 12, 2013 at 10:06 AM, David Blaikie <dblaikie at gmail.com<mailto:dblaikie at gmail.com>> wrote:
On Tue, Feb 12, 2013 at 6:51 AM, Demikhovsky, Elena
<elena.demikhovsky at intel.com<mailto:elena.demikhovsky at intel.com>> wrote:
> Hi David,
>
> Did you look at this failure? I attached the tmp file again.
Sorry, I believe the general idea is that llvm-dwarfdump doesn't
support COFF relocations. You/we/someone could add them and/or we
could make this test case target-specific so it doesn't get muddled up
by COFF until someone does that.

Probably should just make it target specific for now.

-eric

- David

>
> Thanks.
>
> - Elena
> -----Original Message-----
> From: David Blaikie [mailto:dblaikie at gmail.com<mailto:dblaikie at gmail.com>]
> Sent: Tuesday, January 29, 2013 18:27
> To: Demikhovsky, Elena; Eric Christopher
> Cc: Commit Messages and Patches for LLVM
> Subject: Re: line info test failure after commit 173592
>
> Hi Elena,
>
> (just a note: it's usually best to reply directly to a commit email you're discussing - keeps all the context together)
>
>> I have the following failure, do you know what's wrong?
>
> It's not obvious to me from the log information you've provided. Could you attach the "
> W:\LLVM_org\build64\test\DebugInfo\Output\line-info.ll.tmp" file?
>
> Eric - are those relocation errors likely to be causing problems in the dwarfdump output? I assume so. Easy to fix?
>
>>
>> FAIL: LLVM :: DebugInfo/line-info.ll (3741 of 7215)
>> 84>  ******************** TEST 'LLVM :: DebugInfo/line-info.ll' FAILED
>> 84> ********************
>> 84>  Script:
>> 84>  --
>> 84>  W:/LLVM_org/build64/bin/Debug/llc.EXE -filetype=obj -O0 <
>> 84> W:\LLVM_org\llvm\test\DebugInfo\line-info.ll >
>> 84> W:\LLVM_org\build64\test\DebugInfo\Output\line-info.ll.tmp
>> 84>  W:/LLVM_org/build64/bin/Debug/llvm-dwarfdump.EXE
>> 84> W:\LLVM_org\build64\test\DebugInfo\Output\line-info.ll.tmp |
>> 84> W:/LLVM_org/build64/bin/Debug/FileCheck.EXE
>> 84> W:\LLVM_org\llvm\test\DebugInfo\line-info.ll
>> 84>  --
>> 84>  Exit Code: 1
>> 84>  Command Output (stdout):
>> 84>  --
>> 84>  Command 0: "W:/LLVM_org/build64/bin/Debug/llc.EXE" "-filetype=obj" "-O0"
>> 84>  Command 0 Result: 0
>> 84>  Command 0 Output:
>> 84>  None
>> 84>
>> 84>  Command 0 Stderr:
>> 84>
>> 84>
>> 84>  Command 1: "W:/LLVM_org/build64/bin/Debug/llvm-dwarfdump.EXE" "W:\LLVM_org\build64\test\DebugInfo\Output\line-info.ll.tmp"
>> 84>  Command 1 Result: 0
>> 84>  Command 1 Output:
>> 84>
>> 84>
>> 84>  Command 1 Stderr:
>> 84>CUSTOMBUILD : error : failed to compute relocation:
>> 84>IMAGE_REL_AMD64_SECREL CUSTOMBUILD : error : failed to compute
>> 84>relocation: IMAGE_REL_AMD64_ADDR32 CUSTOMBUILD : error : failed to
>> 84>compute relocation: IMAGE_REL_AMD64_ADDR32 CUSTOMBUILD : error :
>> 84>failed to compute relocation: IMAGE_REL_AMD64_ADDR32 CUSTOMBUILD :
>> 84>error : failed to compute relocation: IMAGE_REL_AMD64_ADDR32
>> 84>CUSTOMBUILD : error : failed to compute relocation:
>> 84>IMAGE_REL_AMD64_ADDR32 CUSTOMBUILD : error : failed to compute
>> 84>relocation: IMAGE_REL_AMD64_ADDR64 CUSTOMBUILD : error : failed to
>> 84>compute relocation: IMAGE_REL_AMD64_ADDR64 CUSTOMBUILD : error :
>> 84>failed to compute relocation: IMAGE_REL_AMD64_ADDR32 CUSTOMBUILD :
>> 84>error : failed to compute relocation: IMAGE_REL_AMD64_ADDR32
>> 84>CUSTOMBUILD : error : failed to compute relocation:
>> 84>IMAGE_REL_AMD64_ADDR32 CUSTOMBUILD : error : failed to compute
>> 84>relocation: IMAGE_REL_AMD64_ADDR64 CUSTOMBUILD : error : failed to
>> 84>compute relocation: IMAGE_REL_AMD64_ADDR64 CUSTOMBUILD : error :
>> 84>failed to compute relocation: IMAGE_REL_AMD64_ADDR32
>> 84>
>> 84>
>> 84>  Command 2: "W:/LLVM_org/build64/bin/Debug/FileCheck.EXE" "W:\LLVM_org\llvm\test\DebugInfo\line-info.ll"
>> 84>  Command 2 Result: 1
>> 84>  Command 2 Output:
>> 84>
>> 84>
>> 84>  Command 2 Stderr:
>> 84>  W:\LLVM_org\llvm\test\DebugInfo\line-info.ll:4:10: error:
>> 84> expected string not found in input  ; CHECK: 2 0 1 0 is_stmt
>> 84>           ^
>> 84>  <stdin>:1:1: note: scanning from here
>> 84>  W:\LLVM_org\build64\test\DebugInfo\Output\line-info.ll.tmp: file
>> 84> format COFF-x86-64  ^
>> 84>  <stdin>:107:1: note: possible intended match here
>> 84>  default_is_stmt: 1
>> 84>  ^
>> 84>
>> 84>
>> 84>  --
>> 84>
>> 84>  ********************
>> 84>
>> 84>  Testing Time: 89.45s
>> 84>  ********************
>> 84>  Failing Tests (1):
>> 84>      LLVM :: DebugInfo/line-info.ll
>> ---------------------------------------------------------------------
>> Intel Israel (74) Limited
>>
>> This e-mail and any attachments may contain confidential material for
>> the sole use of the intended recipient(s). Any review or distribution
>> by others is strictly prohibited. If you are not the intended
>> recipient, please contact the sender and delete all copies.
>>
> ---------------------------------------------------------------------
> Intel Israel (74) Limited
>
> This e-mail and any attachments may contain confidential material for
> the sole use of the intended recipient(s). Any review or distribution
> by others is strictly prohibited. If you are not the intended
> recipient, please contact the sender and delete all copies.

---------------------------------------------------------------------
Intel Israel (74) Limited

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130213/d9fa2a04/attachment.html>


More information about the llvm-commits mailing list