forked from OSchip/llvm-project
Add BLOCK_HAS_DESCRIPTOR to global blocks.
llvm-svn: 65788
This commit is contained in:
parent
d70c8a8da6
commit
5878c797b3
|
@ -508,7 +508,8 @@ CodeGenModule::GetAddrOfGlobalBlock(const BlockExpr *BE, const char * n) {
|
|||
LiteralFields[0] = getNSConcreteGlobalBlock();
|
||||
|
||||
// Flags
|
||||
LiteralFields[1] = llvm::ConstantInt::get(IntTy, BLOCK_IS_GLOBAL);
|
||||
LiteralFields[1] =
|
||||
llvm::ConstantInt::get(IntTy, BLOCK_IS_GLOBAL | BLOCK_HAS_DESCRIPTOR);
|
||||
|
||||
// Reserved
|
||||
LiteralFields[2] = llvm::Constant::getNullValue(IntTy);
|
||||
|
|
Loading…
Reference in New Issue