[llvm] [RemoveDIs] Fix spliceDebugInfo splice-to-end edge case (PR #105671)

Jonathon Penix via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 22 12:59:34 PDT 2024


================
@@ -1525,4 +1525,58 @@ TEST(BasicBlockDbgInfoTest, DbgMoveToEnd) {
   EXPECT_FALSE(Ret->hasDbgRecords());
 }
 
+TEST(BasicBlockDbgInfoTest, DbgKnownSentinelCrash) {
+  return;
----------------
jonathonpenix wrote:

Should the early return here be removed?

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


More information about the llvm-commits mailing list