]> granicus.if.org Git - clang/commit
Treat the weak export of block runtime symbols as a deployment-target
authorJohn McCall <rjmccall@apple.com>
Fri, 9 Sep 2011 20:41:01 +0000 (20:41 +0000)
committerJohn McCall <rjmccall@apple.com>
Fri, 9 Sep 2011 20:41:01 +0000 (20:41 +0000)
commit13db5cfc4e5f03eb70efe0d227b53b8280f16161
tree94795d436a9e5021d700babc08f1fcb34e0465bf
parent88914801a4d73e321c6f74f97df7d7b11c298bc6
Treat the weak export of block runtime symbols as a deployment-target
feature akin to the ARC runtime checks.  Removes a terrible hack where
IR gen needed to find the declarations of those symbols in the translation
unit.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139404 91177308-0d34-0410-b5e6-96231b3b80d8
12 files changed:
include/clang/Basic/LangOptions.h
include/clang/Driver/CC1Options.td
include/clang/Driver/ToolChain.h
lib/CodeGen/CGBlocks.cpp
lib/CodeGen/CodeGenModule.cpp
lib/Driver/ToolChains.cpp
lib/Driver/ToolChains.h
lib/Driver/Tools.cpp
lib/Frontend/CompilerInvocation.cpp
test/CodeGen/block-decl-merging.c [deleted file]
test/PCH/block-decl-merging.c [deleted file]
test/PCH/block-decl-merging.cpp [deleted file]