[PATCH] D60470: [DWARF] Prefer larger DW_AT_low_pc when constructing aranges

David Blaikie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 15 14:36:34 PDT 2019


dblaikie added a comment.

What happens if a program is linked from some objects with debug info and some objects without it?

It sounds like this solution might not address that case (in this case, there might be no ambiguity - only one CU would have an address range covering the instruction address - but that instruction address would have no real debug info).

Should we use a different solution? Is GNU addr2line's solution robust, if slow? Or does it still fail in these sort of cases? & if it isn't complete, should we settle for fixing the linker & not try to partially support this in the symbolizer if it necessarily can't be complete in general?


Repository:
  rL LLVM

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

https://reviews.llvm.org/D60470





More information about the llvm-commits mailing list