================ @@ -2762,7 +2762,7 @@ void SymbolFileDWARF::FindTypes(const TypeQuery &query, TypeResults &results) { if (query.GetModuleSearch()) die_context = die.GetDeclContext(); else - die_context = die.GetTypeLookupContext(); + die_context = die.GetTypeLookupContext(query.GetSearchByMangledName()); ---------------- Michael137 wrote:
To avoid mixing mangled typenames into the `CompilerDeclContext` logic, we could just compare mangled names here if `GetSearchByMangledName()`, instead of decl context? https://github.com/llvm/llvm-project/pull/113007 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits