HomePhabricator

[lldb] Findtypes -gmodules fix for too many matches

Authored by jankratochvil on Apr 3 2020, 3:12 PM.

Description

[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

Details

Committed
jankratochvilApr 3 2020, 3:15 PM
Differential Revision
D77336: Findtypes -gmodules fix
Parents
rG1fcfd30fae76: [libc] Add strlen implementation.
Branches
Unknown
Tags
Unknown