[llvm] r348160 - Don't build the Tpi Hash map by default.
Zachary Turner via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 3 10:32:05 PST 2018
Author: zturner
Date: Mon Dec 3 10:32:05 2018
New Revision: 348160
URL: http://llvm.org/viewvc/llvm-project?rev=348160&view=rev
Log:
Don't build the Tpi Hash map by default.
This is very slow and should be done for specific cases where
lookups will need to happen.
Modified:
llvm/trunk/lib/DebugInfo/PDB/Native/SymbolCache.cpp
Modified: llvm/trunk/lib/DebugInfo/PDB/Native/SymbolCache.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/DebugInfo/PDB/Native/SymbolCache.cpp?rev=348160&r1=348159&r2=348160&view=diff
==============================================================================
--- llvm/trunk/lib/DebugInfo/PDB/Native/SymbolCache.cpp (original)
+++ llvm/trunk/lib/DebugInfo/PDB/Native/SymbolCache.cpp Mon Dec 3 10:32:05 2018
@@ -68,9 +68,6 @@ SymbolCache::SymbolCache(NativeSession &
if (Dbi)
Compilands.resize(Dbi->modules().getModuleCount());
-
- auto &Tpi = cantFail(Session.getPDBFile().getPDBTpiStream());
- Tpi.buildHashMap();
}
std::unique_ptr<IPDBEnumSymbols>
More information about the llvm-commits
mailing list