[llvm] [RemoveDIs] Update Coroutine passes to handle DPValues (PR #74480)
Felipe de Azevedo Piovezan via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 5 10:49:24 PST 2023
================
@@ -1259,9 +1276,17 @@ static void buildFrameDebugInfo(Function &F, coro::Shape &Shape,
7, (MDTuple::get(F.getContext(), RetainedNodesVec)));
}
- DBuilder.insertDeclare(Shape.FramePtr, FrameDIVar,
- DBuilder.createExpression(), DILoc,
- Shape.getInsertPtAfterFramePtr());
+ if (UseNewDbgInfoFormat) {
+ DPValue *NewDPV = new DPValue(ValueAsMetadata::get(Shape.FramePtr),
----------------
felipepiovezan wrote:
I am out of the loop of the RemoveDIs project, who owns this memory? The BB?
https://github.com/llvm/llvm-project/pull/74480
More information about the llvm-commits
mailing list