[all-commits] [llvm/llvm-project] fcab66: [lldb] Findtypes -gmodules fix for too many matches
Jan Kratochvil via All-commits
all-commits at lists.llvm.org
Fri Apr 3 15:15:14 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: fcab66d5fe53fc3c318b0d0c4ef1bb4a43a7744f
https://github.com/llvm/llvm-project/commit/fcab66d5fe53fc3c318b0d0c4ef1bb4a43a7744f
Author: Jan Kratochvil <jan.kratochvil at redhat.com>
Date: 2020-04-04 (Sat, 04 Apr 2020)
Changed paths:
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
Log Message:
-----------
[lldb] Findtypes -gmodules fix for too many matches
Apparently the intention was to copy the condition above:
if (types.GetSize() >= max_matches)
break;
So that if the iteration stopped because of too many matches we do not
add even more matches in this 'Clang modules' block downward.
It was implemented by:
SymbolFileDWARF: Unconditionally scan through clang modules. NFCish
fe9eaadd68307347d97698fd0a1646827eafd290
Differential Revision: https://reviews.llvm.org/D77336
More information about the All-commits
mailing list