diff options
author | Zachary Turner <zturner@google.com> | 2018-12-03 18:32:05 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2018-12-03 18:32:05 +0000 |
commit | f861e291d689c7c299b0678de50580fef630ad69 (patch) | |
tree | 9da15ce36e534e10dced88cd89e8ee5bf477dd76 /llvm/lib/DebugInfo/PDB/Native | |
parent | 5440b63fa8a1aa73e7422239919d64b21df93f6d (diff) | |
download | bcm5719-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.cpp | 3 |
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> |