================ @@ -434,6 +442,19 @@ static void GetTypeLookupContextImpl(DWARFDIE die, auto push_ctx = [&](CompilerContextKind kind, llvm::StringRef name) { context.push_back({kind, ConstString(name)}); }; + + // Since mangled names are unique there's no need to build an entire context. + if (use_mangled_name) { + push_ctx(CompilerContextKind::AnyType, die.GetMangledName()); + return; + } + + // If there is no name, then there is no need to look anything up for this + // DIE. + const char *name = die.GetName(); ---------------- Michael137 wrote:
why is this required now, whereas it wasn't before? 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