[Lldb-commits] [PATCH] D134066: [LLDB][NativePDB] Forcefully complete a record type it has incomplete type debug info.
Zequan Wu via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Fri Sep 16 15:44:47 PDT 2022
zequanwu added inline comments.
================
Comment at: lldb/source/Plugins/SymbolFile/NativePDB/PdbAstBuilder.cpp:681
+ auto &ts = llvm::cast<TypeSystemClang>(*ct.GetTypeSystem());
+ ts.GetMetadata(&tag)->SetIsForcefullyCompleted();
+ }
----------------
rnk wrote:
> Is this what we do for DWARF? The same kind of situation seems like it can arise, where clang requires a type to be complete, but the information is missing, and we still try to proceed with evaluation.
I think it's here: https://github.com/llvm/llvm-project/blob/main/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp#L221-L250, relevant: https://reviews.llvm.org/D85968.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D134066/new/
https://reviews.llvm.org/D134066
More information about the lldb-commits
mailing list