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

Saleem Abdulrasool via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 23 14:48:06 PDT 2017


compnerd added a comment.

@efriedma I think that Im still not understanding the case that you are trying to point out.  How do we end up in a state where the block invocation function is referenced external to the TU?  The block would be referenced to by name of the block, no?  AFAICT, this is for local storage in a block, which is scoped to the block invocation function, which is TU local, and will be referenced by the block_literal (which contains the block invocation function and is dispatched via the BlocksRuntime).


Repository:
  rL LLVM

https://reviews.llvm.org/D34523





More information about the cfe-commits mailing list