[Lldb-commits] [lldb] [lldb][SymbolFileDWARF] CompleteType: Lookup type in the declaration DIE's SymbolFile (PR #120569)
Adrian Prantl via lldb-commits
lldb-commits at lists.llvm.org
Thu Dec 19 07:58:44 PST 2024
================
@@ -1593,7 +1593,9 @@ bool SymbolFileDWARF::CompleteType(CompilerType &compiler_type) {
DWARFASTParser *dwarf_ast = GetDWARFParser(*def_die.GetCU());
if (!dwarf_ast)
return false;
- Type *type = GetDIEToType().lookup(decl_die.GetDIE());
+ Type *type = decl_die.GetDWARF()->GetDIEToType().lookup(decl_die.GetDIE());
----------------
adrian-prantl wrote:
Can you edit down your commit message into a comment that explains the double-lookup here?
https://github.com/llvm/llvm-project/pull/120569
More information about the lldb-commits
mailing list