[llvm] [DebugInfo] Swap 'Unit' and 'Type' positions in DISubprogram. (PR #96474)

David Blaikie via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 27 10:43:36 PDT 2024


dwblaikie wrote:

Yeah, lets weaken the verification here - if LLVM's DWARF generation can succeed (not crash), I think that's all we should care about. If someone makes a DISubrange with an upper bound lower than the lower bound (implicit or explicit) - *shrug* garbage in, garbage out. I don't think it's worth trying to save them from themselves with the IR verifier.

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


More information about the llvm-commits mailing list