1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-18 18:42:46 +02:00
llvm-mirror/include/llvm/Transforms/Coroutines
Chuanqi Xu 47152cc5ef [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
..
CoroCleanup.h
CoroEarly.h
CoroElide.h
CoroSplit.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