[llvm-bugs] [Bug 28596] clang -g doesn't record correct line number
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Jul 18 09:41:21 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=28596
Paul Robinson <paul_robinson at playstation.sony.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |DUPLICATE
--- Comment #1 from Paul Robinson <paul_robinson at playstation.sony.com> ---
This is a long-standing problem with FastISel code generation.
I'm pretty sure PR14501 is the same issue:
> int func() {
> func2();
> return 0;
> }
>
> The instruction following the func2 call is assigned to the same line
> as "return 0" in GCC's debug info. In Clang's debug info this line has
> no debug info of its own, so it is on the same line as the prior instruction
> (the call to func2).
I suspect https://reviews.llvm.org/D16569 would fix it.
*** This bug has been marked as a duplicate of bug 14501 ***
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160718/0b1ae7b6/attachment.html>
More information about the llvm-bugs
mailing list