]> granicus.if.org Git - clang/commit
Do a lookup for the blocks runtime globals to see if they were declared,
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Fri, 9 Sep 2011 06:44:21 +0000 (06:44 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Fri, 9 Sep 2011 06:44:21 +0000 (06:44 +0000)
commitead363bdd2756efa945108941ab46bbde3bd8bdf
tree5bd1a6a9da85bef1d53e90ad5a63c570258f5feb
parent84ef0b5f6bd307b1d7cf08cafd68cfcf5facf6e3
Do a lookup for the blocks runtime globals to see if they were declared,
instead of codegen waiting to consume such a declaration, which won't
happen if that decls are coming from a PCH.

Fixes rdar://10028656.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139359 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CodeGenModule.cpp
lib/CodeGen/CodeGenModule.h
test/PCH/block-decl-merging.c [new file with mode: 0644]
test/PCH/block-decl-merging.cpp [new file with mode: 0644]