[LLVMbugs] [Bug 5270] New: llvm-g++: creates non-existing debuginfo line
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Wed Oct 21 09:29:40 PDT 2009
http://llvm.org/bugs/show_bug.cgi?id=5270
Summary: llvm-g++: creates non-existing debuginfo line
Product: new-bugs
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: edwintorok at gmail.com
CC: llvmbugs at cs.uiuc.edu
I wrote a new pass that tests debug info quality, and it found some errors when
compiling the nightly test, for example:
while processing instruction call void
@_ZNSt8ios_base4InitC1Ev(%"struct.__gnu_cxx::new_allocator<int>"*
@_ZStL8__ioinit), !dbg !20
LLVM ERROR: dbgquality: line number 77 is out of range for file
/home/edwin/llvm-svn/llvm-commit/projects/llvm-test/SingleSource/Benchmarks/Shootout-C++//ary3.cpp
That file only has 32 lines
define internal void @_Z41__static_initialization_and_destruction_0ii(i32
%__initialize_p, i32 %__priority) {
...
call void @_ZNSt8ios_base4InitC1Ev(%"struct.__gnu_cxx::new_allocator<int>"*
@_ZStL8__ioinit), !dbg !1776
...
!1776 = metadata !{i32 77, i32 0, metadata !1771, null}
It looks like static initialization/destruction creates out-of-file lines.
--
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.
More information about the llvm-bugs
mailing list