[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
Thu Nov 9 05:28:57 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$");
----------------
hokein wrote:
Thanks, good catch. Handled the gdb case and added a test case (I thought the Clang name in the filename and path name indicates that these part of code only cares about clang-generated code, but it looks like we use Clang type system to parse the DWARF debug info).
Do we care about the msvc-built program as well? I think? probably not, as we use a different debug info format `PDB` on Windows. And this class is only used in parsing DWARF.
https://github.com/llvm/llvm-project/pull/70779
More information about the lldb-commits
mailing list