A little fixup so that D77327 can be called NFC.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
As D77327 removes num_die_matches as now it is a callback so one cannot use it anymore after D77327. Exact replacement would be to count the number of times the callback was called. But that would keep it buggy, 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