[llvm] [LLVM][DWARF] Make some effort to avoid duplicates in .debug_ranges. (PR #106614)
David Blaikie via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 3 10:21:04 PDT 2024
dwblaikie wrote:
Could you add a test case? (something like what I outlined/showed above)?
& yes, the zeros are from linker deduplication and aren't actually duplicates and production time - there's an lld linker flag that can produce a newer standardized tombstone value (rather than 0) for these gc'd entities. Then you can differentiate those more easily from small-but-valid addresses. ( https://reviews.llvm.org/D83264 )
Could you pick one of the non-low-address examples and see why it's still duplicate?
https://github.com/llvm/llvm-project/pull/106614
More information about the llvm-commits
mailing list