[Lldb-commits] [lldb] [LLDB][NativePDB] Allow type lookup in namespaces (PR #149876)

Zequan Wu via lldb-commits lldb-commits at lists.llvm.org
Mon Jul 21 13:51:25 PDT 2025


================
@@ -1630,6 +1630,53 @@ size_t SymbolFileNativePDB::ParseSymbolArrayInScope(
   return count;
 }
 
+void SymbolFileNativePDB::CacheTypeNames() {
----------------
ZequanWu wrote:

Actually, `SymbolFileNativePDB::BuildParentMap()` already does the tpi stream iteration and it's called at NativePDB plugin initial setup. We could just cache the those base names there instead of iterating it the second time.

https://github.com/llvm/llvm-project/pull/149876


More information about the lldb-commits mailing list