[llvm] [SelectionDAG] Fix null pointer dereference in resolveDanglingDebugInfo (PR #174341)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 14 12:18:10 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=aarch64-unknown-linux-gnu | FileCheck %s
+
+; Test that it crashes on Darwin (expected behavior for now, see FIXME)
+; RUN: not --crash llc < %s -mtriple=aarch64-apple-darwin
+; XFAIL: target=aarch64-apple-darwin
----------------
arsenm wrote:
No, you do not need XFAIL. This is not host dependent. The XFAIL will cause the test to fail on Darwin, because the test will actually pass. The failure is fully covered by the not --crash
https://github.com/llvm/llvm-project/pull/174341
More information about the llvm-commits
mailing list