[Lldb-commits] [lldb] [LLDB] Don't ignore artificial variables and members for coroutines (PR #70779)
Michael Buch via lldb-commits
lldb-commits at lists.llvm.org
Tue Oct 31 18:43:15 PDT 2023
================
@@ -3061,7 +3061,8 @@ void DWARFASTParserClang::ParseSingleMember(
// artificial member with (unnamed bitfield) padding.
// FIXME: This check should verify that this is indeed an artificial member
// we are supposed to ignore.
- if (attrs.is_artificial) {
+ if (attrs.is_artificial &&
+ !TypeSystemClang::IsCoroutineFrameType(class_clang_type)) {
----------------
Michael137 wrote:
I do still wonder if we should just make a `ShouldIgnoreArtificialField` API that returns `true` for known fields we want to skip. The only ones that comes to mind are artificial variables that start with `_vptr$`
Not sure if there are some Objective-C artificial vars we want to skip. Maybe @jimingham or @adrian-prantl would know
https://github.com/llvm/llvm-project/pull/70779
More information about the lldb-commits
mailing list