================ @@ -1478,6 +1479,18 @@ struct SwitchCoroutineSplitter { static void createResumeEntryBlock(Function &F, coro::Shape &Shape) { LLVMContext &C = F.getContext(); + DIBuilder DBuilder(*F.getParent(), /*AllowUnresolved*/ false); + DISubprogram *DIS = F.getSubprogram(); + // If there is no DISubprogram for F, it implies the function is compiled + // without debug info. So we also don't generate debug info for the + // suspension points, either. ---------------- pogo59 wrote:
```suggestion // without debug info. So we also don't generate debug info for the // suspension points. ``` https://github.com/llvm/llvm-project/pull/141937 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits