[PATCH] D142556: [DebugInfo] Merge partially matching chains of inlined locations

David Stenberg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 25 08:35:46 PST 2023


dstenb added a comment.

As far as I can tell it is valid DWARF to inline at line 0.

I guess that one of the main questions here is whether debuggers accept this. Of what I have tested of lldb trunk and GDB (9 and 11) they seem to handle it, with the caveat regarding the LLDB patch D142552 <https://reviews.llvm.org/D142552> and that GDB seems to ignore line 0 locations in some cases. I do not know how the Sony debugger, dbx, or any other debugger handles it.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D142556/new/

https://reviews.llvm.org/D142556



More information about the llvm-commits mailing list