diff options
author | Chuanqi Xu <yedeng.yd@linux.alibaba.com> | 2022-05-20 15:30:16 +0800 |
---|---|---|
committer | Chuanqi Xu <yedeng.yd@linux.alibaba.com> | 2022-07-07 10:35:32 +0800 |
commit | 7137ebc4cef21336dff5a97e94da93b96a8b50a5 (patch) | |
tree | 97400d2b1bc5fcd8c8f442dd7588ce0400087070 /llvm/lib/Transforms/Utils/LoopUtils.cpp | |
parent | c45ec53e7b852c1d874b6ffac11ce71ca21415dd (diff) | |
download | llvm-7137ebc4cef21336dff5a97e94da93b96a8b50a5.zip llvm-7137ebc4cef21336dff5a97e94da93b96a8b50a5.tar.gz llvm-7137ebc4cef21336dff5a97e94da93b96a8b50a5.tar.bz2 |
[Debug] [Coroutine] Adjust the scope and name for coroutine frame
Previously the scope of debug type of __coro_frame is limited in the
current function. It looked good at the first sight. But it prevent us
to print the type in splitted functions and other functions. Also the
debug type is different for different coroutine functions. So it makes
sense to rename the debug type to make it related to the function name.
After this patch, we could access the coroutine frame type in a function
by `function_name.coro_frame_ty`.
Reviewed By: dblaikie
Differential Revision: https://reviews.llvm.org/D127623
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions