[Lldb-commits] [lldb] [LLDB] Don't ignore artificial variables and members for coroutines (PR #70779)
Haojian Wu via lldb-commits
lldb-commits at lists.llvm.org
Fri Nov 3 04:09:18 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)) {
----------------
hokein wrote:
I changed to `ShouldIgnoreArtificialField` per suggest (unite tests are passed). It looks like the vtable pointer is the only case for C/C++.
https://github.com/llvm/llvm-project/pull/70779
More information about the lldb-commits
mailing list