[llvm] [DebugInfo] Accept DW_OP_xderef_size and DW_OP_lit1..DW_OP_lit31. (PR #227839)

Eric Christopher via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 4 23:16:13 PDT 2026


================

----------------
echristo wrote:

So I think you found a pre-existing bug here exacerbated by the patch: this is UB :) I think the right choice is to compare the distances here. It probably wouldn't have gotten noticed because we'd return false anyhow if we had fewer than two operands. Up to you :)

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


More information about the llvm-commits mailing list