[Lldb-commits] [lldb] [LLDB] Ignore actual-needed artificial members in DWARFASTParserClang::ParseSingleMember (PR #70779)

Michael Buch via lldb-commits lldb-commits at lists.llvm.org
Thu Nov 9 05:51:20 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:

Are you still planning on using this API from the `CPPLanguageRuntime`? If not, you could just put it inside of `DWARFASTParserClang.cpp`.

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


More information about the lldb-commits mailing list