[llvm] [SelectionDAG] Fix null pointer dereference in resolveDanglingDebugInfo (PR #173500)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 25 11:44:49 PST 2025
MetalOxideSemi wrote:
> Testcase?
@arsenm Thank you for the review! I've added a regression test as requested. The test case (`test/CodeGen/Generic/selectiondag-dbgvalue-null-crash.ll`) reproduces the original crash scenario with an aggregate type containing empty structs and verifies that the fix prevents the null pointer dereference.
https://github.com/llvm/llvm-project/pull/173500
More information about the llvm-commits
mailing list