summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/PDB/Native
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2018-12-03 18:32:05 +0000
committerZachary Turner <zturner@google.com>2018-12-03 18:32:05 +0000
commitf861e291d689c7c299b0678de50580fef630ad69 (patch)
tree9da15ce36e534e10dced88cd89e8ee5bf477dd76 /llvm/lib/DebugInfo/PDB/Native
parent5440b63fa8a1aa73e7422239919d64b21df93f6d (diff)
downloadbcm5719-llvm-f861e291d689c7c299b0678de50580fef630ad69.tar.gz
bcm5719-llvm-f861e291d689c7c299b0678de50580fef630ad69.zip
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. llvm-svn: 348160
Diffstat (limited to 'llvm/lib/DebugInfo/PDB/Native')
-rw-r--r--llvm/lib/DebugInfo/PDB/Native/SymbolCache.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/DebugInfo/PDB/Native/SymbolCache.cpp b/llvm/lib/DebugInfo/PDB/Native/SymbolCache.cpp
index 7485341a206..5cdd628312f 100644
--- a/llvm/lib/DebugInfo/PDB/Native/SymbolCache.cpp
+++ b/llvm/lib/DebugInfo/PDB/Native/SymbolCache.cpp
@@ -68,9 +68,6 @@ SymbolCache::SymbolCache(NativeSession &Session, DbiStream *Dbi)
if (Dbi)
Compilands.resize(Dbi->modules().getModuleCount());
-
- auto &Tpi = cantFail(Session.getPDBFile().getPDBTpiStream());
- Tpi.buildHashMap();
}
std::unique_ptr<IPDBEnumSymbols>
OpenPOWER on IntegriCloud