[llvm-commits] [llvm] r140539 - in /llvm/trunk: include/llvm/Analysis/DebugInfo.h lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp test/DebugInfo/2011-09-26-GlobalVarContext.ll
Jakob Stoklund Olesen
stoklund at 2pi.dk
Mon Sep 26 11:21:59 PDT 2011
On Sep 26, 2011, at 10:40 AM, James Molloy wrote:
> Author: jamesm
> Date: Mon Sep 26 12:40:42 2011
> New Revision: 140539
>
> URL: http://llvm.org/viewvc/llvm-project?rev=140539&view=rev
> Log:
> Fix emission of debug data for global variables. getContext() on DIGlobalVariables is not valid any more.
Hi James.
Please make sure your test case is platform agnostic.
******************** TEST 'LLVM :: DebugInfo/2011-09-26-GlobalVarContext.ll' FAILED ********************Script:
Command Output (stderr):
--
test/DebugInfo/2011-09-26-GlobalVarContext.ll:41:10: error: expected string not found in input
; CHECK: .ascii "GLOBAL" # DW_AT_name
^
<stdin>:1:2: note: scanning from here
.section __TEXT,__text,regular,pure_instructions
^
<stdin>:75:2: note: possible intended match here
.ascii "GLOBAL" ## DW_AT_name
^
--
You can for example add a triple argument.
/jakob
More information about the llvm-commits
mailing list