dblaikie added a comment.

If I had to guess what this might've related to is the fact that LLVM puts a 
DW_AT_low_pc on the CU even if the CU uses discontiguous ranges - and in that 
case the low_pc has the constant value 0. So that all address values are 
resolved "relative" to that zero, making them absolute. There's some support in 
the DWARF spec for this being a right/good thing.

It's /possible/ that at some point LLVM didn't emit CU level address range info 
(it's redundant with aranges after all - though these days we err on the other 
direction of skipping aranges and just emitting CU ranges) - and just emitted 
the zero low_pc which might've been confusing?


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