[PATCH] D123469: [DebugInfo][llvm-dwarfutil] Combine overlapped address ranges.
Alexey Lapshin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 20 12:06:43 PDT 2022
avl added a comment.
In D123469#3462423 <https://reviews.llvm.org/D123469#3462423>, @dblaikie wrote:
> Do you have a small/standalone lto example of these overlapped ranges - to understand both why they happen, and why they're invalid?
I do not have at the moment. The issue was raised by @clayborg https://reviews.llvm.org/D86539#3428098 . But I will try to reproduce.
That is the explanation:
This can happen when you have LTO mess with the debug info as many functions might end up being combined. I have a command that dumps the ranges of DIEs and the problem looks like this:
DIE OFFSET RANGE NAME
========== ========================================= ====================
0x0000e88e [0x0000000000028454 - 0x0000000000028474) freep
0x0000e8c2 [0x0000000000028454 - 0x0000000000028474) freep_aligned
0x00022cf4 [0x0000000000028454 - 0x0000000000028474) freep
0x00022d5d [0x0000000000028454 - 0x0000000000028474) freep_aligned
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D123469/new/
https://reviews.llvm.org/D123469
More information about the llvm-commits
mailing list