[PATCH] D99179: [RFC] [Coroutines] Enable printing coroutine frame in debugger if program is compiled with -g

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 24 16:08:12 PDT 2021


aprantl added a comment.

> 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.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D99179/new/

https://reviews.llvm.org/D99179



More information about the llvm-commits mailing list