[PATCH] D9887: [DebugInfo][FastISel] Prevent using debug location from previous block for local values

Adrian Prantl via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 14 17:09:42 PST 2016


aprantl added a comment.

In http://reviews.llvm.org/D9887#327352, @echristo wrote:

> This is a pretty compelling argument, another thought is can we just assume line/column 0 on anything that doesn't have a location and actually use that in the output line table? Will gdb/lldb/other debuggers skip over things (this will help in the "what if we have a block with no instructions with locations on it" issue here) or will they do something silly?


I can only speak for LLDB, but LLDB will correctly skip over any line 0 locations.


Repository:
  rL LLVM

http://reviews.llvm.org/D9887





More information about the llvm-commits mailing list