[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...
Name: D62780.202561.patch
Type: text/x-patch
Size: 8836 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190601/f7825ca6/attachment.bin>

More information about the cfe-commits mailing list