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

Jonas Devlieghere via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 3 16:14:45 PST 2024


JDevlieghere wrote:

I ran into this myself a while ago, and I remember looking at the DWARF spec and noticing that there's no exception for function merging. I think I came to the same conclusion when I implemented this check originally. 

I agree that it makes sense to allow this , but (unless I'm wrong and don't remember or didn't look hard enough) we should raise an issue with the DWARF committee (which @dwblaikie and I are part of) to allow this in the standard. 

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


More information about the llvm-commits mailing list