[PATCH] D34523: AST: mangle BlockDecls under MS ABI
Eli Friedman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 22 14:58:45 PDT 2017
efriedma added a comment.
> @efriedma hmm...using getBlockManglingNumber causes the name to be duplicated. Ill look into that.
Have you looked at the Itanium mangling implementation?
> However, wouldn't all the block invocation functions be defined and COMDAT'ed?
IIRC, we always emit blocks with internal linkage, not linkonce. But even if we did use linkonce linkage, the block could get inlined.
Repository:
rL LLVM
https://reviews.llvm.org/D34523
More information about the cfe-commits
mailing list