[clang] [Clang] Fix Itanium mangling crash for local lambda in ctor/dtor (PR #181068)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 31 11:00:57 PDT 2026
================
@@ -514,6 +514,10 @@ class CXXNameMangler {
void mangleUnscopedTemplateName(GlobalDecl GD, const DeclContext *DC,
const AbiTagList *AdditionalAbiTags);
void mangleSourceName(const IdentifierInfo *II);
+ void mangleConstructorName(const NamedDecl *ND,
+ const AbiTagList *AdditionalAbiTags);
+ void mangleDestructorName(const NamedDecl *ND,
+ const AbiTagList *AdditionalAbiTags);
----------------
erichkeane wrote:
Don't use a pointer to AbiTagList, it is just a vector-type, so we should be doing a 'view' into it (aka, ArrayRef).
https://github.com/llvm/llvm-project/pull/181068
More information about the cfe-commits
mailing list