[llvm] [RemoveDIs] Fix SIGSEGV caused by splitBasicBlock (PR #90312)
Franklin Zhang via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 29 09:38:15 PDT 2024
================
@@ -1009,7 +1009,7 @@ void BasicBlock::spliceDebugInfoImpl(BasicBlock::iterator Dest, BasicBlock *Src,
// generate the iterator with begin() / getFirstInsertionPt(), it means
// any trailing debug-info at the end of the block would "normally" have
// been pushed in front of "First". Move it there now.
- DbgMarker *FirstMarker = getMarker(First);
+ DbgMarker *FirstMarker = createMarker(First);
----------------
FLZ101 wrote:
done.
https://github.com/llvm/llvm-project/pull/90312
More information about the llvm-commits
mailing list