http://llvm.org/bugs/show_bug.cgi?id=9270
Summary: Garbage collection intrinsics and debugging intrinsics
don't mix
Product: new-bugs
Version: trunk
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: new bugs
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
It appears that the presence of llvm.gcroot intrinsics cause the code generator
to emit improper DWARF debugging information. I have two sample files, one
which was generated with garbage collection enabled (Hello.ll) and another with
garbage collection disabled (Hello2.ll). I've also included the original source
file (Hello.tart).
To demonstrate the problem, compile both samples and enter the debugger,
setting a breakpoint on 'main'.
In the first sample, with GC, the debugger stops on line 3 "let s2 = s" which
is incorrect, because line 2 has not executed yet.
In the second sample, without GC, the debugger stops on the line 2 "var s =
getString()", which is correct.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs