[llvm-branch-commits] [llvm] release/19.x: [DebugInfo][RemoveDIs] Find types hidden in DbgRecords (#106547) (PR #107060)

Orlando Cazalet-Hyams via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Sep 3 03:58:09 PDT 2024


https://github.com/OCHyams approved this pull request.

> @OCHyams What do you think about merging this PR to the release branch?

LGTM, this fixes a bug where valid IR gets rejected by the parser, so getting it backported sounds good.

For peace of mind: we don't need a null check in the `DVI->location_ops()` loop because `location_ops()` returns an empty range rather than a single-nullptr-location, and multiple locations (through DIArgList) should never be nullptr.

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


More information about the llvm-branch-commits mailing list