[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:16:06 PST 2023


================
@@ -771,6 +771,10 @@ TypeSystemClang *TypeSystemClang::GetASTContext(clang::ASTContext *ast) {
   return clang_ast;
 }
 
+bool TypeSystemClang::ShouldIgnoreArtificialField(llvm::StringRef Name) {
+  return Name.starts_with("_vptr$");
----------------
Michael137 wrote:

On GCC I see we get a slightly different name:
```
< 2><0x00000166>      DW_TAG_member
                        DW_AT_name                  _vptr.Base
                        DW_AT_type                  <0x000001cc>
                        DW_AT_data_member_location  0
                        DW_AT_artificial            yes(1)
```

https://github.com/llvm/llvm-project/pull/70779


More information about the lldb-commits mailing list