[llvm] [DWARFVerifier] Allow overlapping ranges for ICF-merged functions (PR #117952)

Pavel Labath via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 6 00:44:42 PST 2024


labath wrote:

Just a small comment from the peanut gallery: I recently ran into some (most likely, obsolete) code in lldb which tries to handle the case where the ranges of a DW_TAG_lexical_block are not included in the ranges of its parent (block, subprogram, etc.). I was looking at the DWARF spec to see if it allows anything like this, but I couldn't find anything to support either interpretation. If you're going to be looking at strengthening the language around range relationships between various DIEs, it might be a good idea to include parent-child relationships as well. :)

https://github.com/llvm/llvm-project/pull/117952


More information about the llvm-commits mailing list