================
@@ -963,7 +970,9 @@ void MicrosoftCXXNameMangler::mangleName(GlobalDecl GD) {
// Always start with the unqualified name.
mangleUnqualifiedName(GD);
- mangleNestedName(GD);
+ const auto *RD = dyn_cast<CXXRecordDecl>(GD.getDecl());
+ if (!ShortenRTTINames || !RD || !RD->isLambda())
+ mangleNestedName(GD);
----------------
efriedma-quic wrote:
I'm pretty sure we can't throw away the nested name. It's not ABI-compatible,
and it will cause different globals to mangle to the same name.
How did you decide this was necessary?
https://github.com/llvm/llvm-project/pull/206317
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits