[llvm] [SelectionDAG] Fix null pointer dereference in resolveDanglingDebugInfo (PR #174341)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 6 12:29:52 PST 2026


================
@@ -0,0 +1,50 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 6
+
+; Test that the code generation works correctly on Linux
+; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu | FileCheck %s
+
+; Test that it crashes on Darwin (expected behavior for now, see FIXME)
+; RUN: not --crash llc < %s -mtriple=x86_64-apple-darwin
+; XFAIL: target=x86_64-apple-darwin
----------------
arsenm wrote:

```suggestion
```

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


More information about the llvm-commits mailing list