[all-commits] [llvm/llvm-project] 3b73dc: Performance: Add a set of visited SymbolFiles to t...
adrian-prantl via All-commits
all-commits at lists.llvm.org
Tue Nov 12 09:38:52 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 3b73dcdc9656e156c4380454150b8986c5b9aad1
https://github.com/llvm/llvm-project/commit/3b73dcdc9656e156c4380454150b8986c5b9aad1
Author: Adrian Prantl <aprantl at apple.com>
Date: 2019-11-12 (Tue, 12 Nov 2019)
Changed paths:
M lldb/include/lldb/Core/Module.h
M lldb/include/lldb/Symbol/SymbolFile.h
M lldb/source/Core/Module.cpp
M lldb/source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.cpp
M lldb/source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.h
M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
M lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
M lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.h
M lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp
M lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.h
M lldb/source/Symbol/SymbolFile.cpp
M lldb/tools/lldb-test/lldb-test.cpp
Log Message:
-----------
Performance: Add a set of visited SymbolFiles to the other FindFiles variant.
This is basically the same bug as in r260434.
SymbolFileDWARF::FindTypes has exponential worst-case when digging
through dependency DAG of .pcm files because each object file and .pcm
file may depend on an already-visited .pcm file, which may again have
dependencies. Fixed here by carrying a set of already visited
SymbolFiles around.
rdar://problem/56993424
Differential Revision: https://reviews.llvm.org/D70106
More information about the All-commits
mailing list