llvm-project/llvm/lib/Transforms/Coroutines
Chuanqi Xu eb51dd719f [Coroutine] [Debug] Insert dbg.declare to entry.resume to print alloca in the coroutine frame under O2
Summary: Try to insert dbg.declare to entry.resume basic block in resume
function. In this way, we could print alloca such as __promise in
gdb/lldb under O2, which would be beneficial to debug coroutine program.

Test Plan: check-llvm

Reviewed by: aprantl

Differential Revision: https://reviews.llvm.org/D96938
2021-03-31 10:37:06 +08:00
..
CMakeLists.txt llvmbuildectomy - replace llvm-build by plain cmake 2020-11-13 10:35:24 +01:00
CoroCleanup.cpp Add @llvm.coro.async.size.replace intrinsic. 2021-02-23 06:43:52 -08:00
CoroEarly.cpp [coro.async] Make sure we process async coroutines 2021-01-22 07:04:01 -08:00
CoroElide.cpp [Coroutine] Relax CoroElide musttail check 2021-02-18 19:36:11 -08:00
CoroFrame.cpp [Coroutine] [Debug] Insert dbg.declare to entry.resume to print alloca in the coroutine frame under O2 2021-03-31 10:37:06 +08:00
CoroInstr.h [coro async] Allow a coro.suspend.async to specify which argument is the context argument 2021-03-03 08:27:37 -08:00
CoroInternal.h [Coroutine] [Debug] Insert dbg.declare to entry.resume to print alloca in the coroutine frame under O2 2021-03-31 10:37:06 +08:00
CoroSplit.cpp [Coroutine] [Debug] Insert dbg.declare to entry.resume to print alloca in the coroutine frame under O2 2021-03-31 10:37:06 +08:00
Coroutines.cpp Add @llvm.coro.async.size.replace intrinsic. 2021-02-23 06:43:52 -08:00