diff options
author | Nico Weber <nicolasweber@gmx.de> | 2019-06-04 23:27:40 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2019-06-04 23:27:40 +0000 |
commit | 487077698cf3c2b50de55de59729ddc9cd6bf95e (patch) | |
tree | ff112951a2113ee02843b21d9957bd4158547371 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 5e312be0fa8442958fab31f08ec877cc4f6f31a2 (diff) | |
download | llvm-487077698cf3c2b50de55de59729ddc9cd6bf95e.zip llvm-487077698cf3c2b50de55de59729ddc9cd6bf95e.tar.gz llvm-487077698cf3c2b50de55de59729ddc9cd6bf95e.tar.bz2 |
msabi: Fix exponential mangling time for even more contrived inputs
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.
Differential Revision: https://reviews.llvm.org/D62780
llvm-svn: 362560
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions