diff options
author | Saar Raz <saar@raz.email> | 2020-01-16 13:35:20 +0200 |
---|---|---|
committer | Saar Raz <saar@raz.email> | 2020-01-16 13:39:30 +0200 |
commit | 8a3446746098ba29348bb8f85357dd0b466a6d6e (patch) | |
tree | 0218a378dd01796aa847e137e5d9178045e7a582 /llvm/lib/CodeGen/MachineVerifier.cpp | |
parent | b08e8353a89f682861ef947fdb6e229b3de2e37d (diff) | |
download | llvm-8a3446746098ba29348bb8f85357dd0b466a6d6e.zip llvm-8a3446746098ba29348bb8f85357dd0b466a6d6e.tar.gz llvm-8a3446746098ba29348bb8f85357dd0b466a6d6e.tar.bz2 |
[Concepts] Fix ConceptSpecializationExpr profiling crash
ConceptSpecializationExprs (CSEs) were being created with nullptr
TemplateArgsAsWritten during TemplateTemplateParmDecl canonicalization, and
we were relying on them during profiling which caused sporadic crashes
in test/CXX/.../temp.arg.template/p3-2a.cpp introduced in D44352.
Change profiling of CSEs to instead rely on the actual converted template
arguments and concept named.
Diffstat (limited to 'llvm/lib/CodeGen/MachineVerifier.cpp')
0 files changed, 0 insertions, 0 deletions