diff options
author | Steven Wu <stevenwu@apple.com> | 2015-05-02 00:56:15 +0000 |
---|---|---|
committer | Steven Wu <stevenwu@apple.com> | 2015-05-02 00:56:15 +0000 |
commit | 1d56be869e76a0408f13759f32a898e7fddc5146 (patch) | |
tree | 6308e1f5d911958ee6c86d338f0a1e589b6dba26 /clang/lib/CodeGen/CGObjCMac.cpp | |
parent | 40055d118548c00f144ef73f947d764e9b6057bc (diff) | |
download | bcm5719-llvm-1d56be869e76a0408f13759f32a898e7fddc5146.tar.gz bcm5719-llvm-1d56be869e76a0408f13759f32a898e7fddc5146.zip |
Fix -fobjc-arc doesn't work with -save-temps
The underlying problem is that there is currently no way to run
ObjCARCContract from llvm bitcode which is required by ObjC ARC.
This fix the problem by always enable ObjCARCContract pass if
optimization is enabled. The ObjCARC Contract pass has almost no
overhead on code that is not using ARC.
llvm-svn: 236372
Diffstat (limited to 'clang/lib/CodeGen/CGObjCMac.cpp')
0 files changed, 0 insertions, 0 deletions