[PATCH] D158108: [CoroSplit][DebugInfo] Don't use entry_value in coroutine entry point

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 16 13:30:34 PDT 2023


aprantl added inline comments.


================
Comment at: llvm/lib/Transforms/Coroutines/CoroFrame.cpp:1884
           // This dbg.declare is for the main function entry point.  It
           // will be deleted in all coro-split functions.
+          coro::salvageDebugInfo(ArgToAllocaMap, DDI, Shape.OptimizeFrame,
----------------
And I assume that the "it will be deleted in all other funclets" guarantee still holds for the non-entry-value dbg.declare?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D158108/new/

https://reviews.llvm.org/D158108



More information about the llvm-commits mailing list