The entry point function is called as a regular function. Among other things, it
can be inlined, which would violate the semantics of entry_value in the IR.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D158108
[CoroSplit][DebugInfo] Don't use entry_value in coroutine entry point ClosedPublic Authored by fdeazeve on Aug 16 2023, 12:27 PM.
Details Summary The entry point function is called as a regular function. Among other things, it
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Aug 16 2023, 1:28 PM
Closed by commit rG8aa038ab1709: [CoroSplit][DebugInfo] Don't use entry_value in coroutine entry point (authored by fdeazeve). · Explain WhyAug 17 2023, 6:15 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 551108 llvm/lib/Transforms/Coroutines/CoroFrame.cpp
llvm/lib/Transforms/Coroutines/CoroInternal.h
llvm/lib/Transforms/Coroutines/CoroSplit.cpp
llvm/test/Transforms/Coroutines/swift-async-dbg.ll
|
And I assume that the "it will be deleted in all other funclets" guarantee still holds for the non-entry-value dbg.declare?