This revision was automatically updated to reflect the committed changes.
Closed by commit rL362560: msabi: Fix exponential mangling time for even more
contrived inputs (authored by nico, committed by ).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Changed prior to commi
rnk accepted this revision.
rnk added a comment.
This revision is now accepted and ready to land.
lgtm
Comment at: clang/lib/AST/MicrosoftMangle.cpp:819-823
ArgBackRefMap::iterator Found = TemplateArgBackReferences.find(ND);
if (Found == TemplateArgBackReferences.end(
thakis marked an inline comment as done.
thakis added inline comments.
Comment at: clang/lib/AST/MicrosoftMangle.cpp:819-823
ArgBackRefMap::iterator Found = TemplateArgBackReferences.find(ND);
if (Found == TemplateArgBackReferences.end()) {
- // Mangle full templat
rnk added inline comments.
Comment at: clang/lib/AST/MicrosoftMangle.cpp:819-823
ArgBackRefMap::iterator Found = TemplateArgBackReferences.find(ND);
if (Found == TemplateArgBackReferences.end()) {
- // Mangle full template name into temporary buffer.
- llvm::S
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 refere