[PATCH] D99179: [RFC] [Coroutines] Enable printing coroutine frame in debugger if program is compiled with -g
Chuanqi Xu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 25 00:39:46 PDT 2021
ChuanqiXu added a comment.
In D99179#2649238 <https://reviews.llvm.org/D99179#2649238>, @aprantl wrote:
>> Maybe generating a C-language DWARF struct to describe the frame layout could be triggered by the presence of C-language debug info?
>
> The code could check for the presence of one of the DW_LANG_C_plus_plus derivatives (cf. isCPlusPlus() in Dwarf.h in the containing DICompileUnit to check that this is indeed C++ and just not run in any other case.
Do you think it is better to search for DW_LANG_C_plus_plus debug information than judging the ABI of Coroutine?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D99179/new/
https://reviews.llvm.org/D99179
More information about the llvm-commits
mailing list