clayborg added a comment.

And also it is worth noting that just because new compilers might generate this 
information correctly, it doesn't mean LLDB won't be used to try and load older 
debug info from compilers that don't. LTO can also greatly affect the 
reliability of this information. And many other code post production tools 
often ruin this information when they move things around. The tools know to 
modify the information for the DW_TAG_subprogram DIE, but they very often don't 
even try to update the compile unit's DW_AT_ranges.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D78489



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to