[PATCH] D34523: AST: mangle BlockDecls under MS ABI

Saleem Abdulrasool via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 23 16:43:42 PDT 2017


compnerd added a comment.

Ah, thanks for the explanation @efriedma.



================
Comment at: lib/AST/MicrosoftMangle.cpp:981-984
+      Out << "YAXPAU__block_literal";
+      if (Discriminator)
+        Out<< '_' << Discriminator;
+      Out << "@@@Z";
----------------
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.


Repository:
  rL LLVM

https://reviews.llvm.org/D34523





More information about the cfe-commits mailing list