[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 Nov 7 04:21:28 PST 2023
================
@@ -3059,9 +3059,8 @@ void DWARFASTParserClang::ParseSingleMember(
// This needs to be done after updating FieldInfo which keeps track of where
// field start/end so we don't later try to fill the space of this
// 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::ShouldIgnoreArtificialField(attrs.name)) {
----------------
Michael137 wrote:
We'll need to double check how clang's layout builder is affected by not ignoring these artificial fields
https://github.com/llvm/llvm-project/pull/70779
More information about the lldb-commits
mailing list