[PATCH] D34523: AST: mangle BlockDecls under MS ABI
David Majnemer via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 23 16:45:02 PDT 2017
majnemer added inline comments.
================
Comment at: lib/AST/MicrosoftMangle.cpp:981-984
+ Out << "YAXPAU__block_literal";
+ if (Discriminator)
+ Out<< '_' << Discriminator;
+ Out << "@@@Z";
----------------
compnerd wrote:
> majnemer wrote:
> > I think you want to use mangleArtificalTagType here.
> I was considering that. The addition of the `Discriminator` makes that harder. I can create a local buffer and create the name and then mangle that though if you feel strongly about that.
I do, it will ensure it correctly backreferences.
Repository:
rL LLVM
https://reviews.llvm.org/D34523
More information about the cfe-commits
mailing list