]> granicus.if.org Git - clang/commit
Objective-C IRGen. Use llvm::WeakVH
authorFariborz Jahanian <fjahanian@apple.com>
Tue, 16 Apr 2013 15:25:39 +0000 (15:25 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Tue, 16 Apr 2013 15:25:39 +0000 (15:25 +0000)
commit428edb7f7599b4ee44eaad00bb3c330495fc1ad6
tree972fd04af7826fa0102e4faeabe3b96e4932278b
parent6ca6752992103964706ca0983efbc2b9fcfe3307
Objective-C IRGen. Use llvm::WeakVH
for caching couple of global symbols used
for generation of CF/NS string meta-data
so they are not released prematuely in certain
corner cases. // rdar:// 13598026.
Reviewed by John M.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179599 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CodeGenModule.cpp
lib/CodeGen/CodeGenModule.h
test/CodeGenObjC/tentative-cfconstantstring.m [new file with mode: 0644]