[PATCH] D62780: msabi: Fix exponential mangling time for even more contrived inputs
Nico Weber via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Jun 1 09:56:36 PDT 2019
thakis created this revision.
thakis added a reviewer: rnk.
This is a follow-up to r362293 which fixed exponential time needed
for mangling certain templates. This fixes the same issue if that
template pattern happens in template arguments > 10: The first
ten template arguments can use back references, and r362293 added
caching for back references. For latter arguments, we have to add
a cache for the mangling itself instead.
Fixes PR42091 even more.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 8836 bytes
Desc: not available
More information about the cfe-commits