diff options
author | Michael Gottesman <mgottesman@apple.com> | 2013-01-16 06:32:39 +0000 |
---|---|---|
committer | Michael Gottesman <mgottesman@apple.com> | 2013-01-16 06:32:39 +0000 |
commit | 6a9355f8d7a2352a443499eaee3ac87fc41e1037 (patch) | |
tree | 8d12e2a33c4f34e8f42f445a61541e4897b4df90 /clang/lib/Driver/Tools.cpp | |
parent | 6c8127cc73caa9f188d06da0151fa3b9e32a71de (diff) | |
download | bcm5719-llvm-6a9355f8d7a2352a443499eaee3ac87fc41e1037.tar.gz bcm5719-llvm-6a9355f8d7a2352a443499eaee3ac87fc41e1037.zip |
[ObjCARC] Turn off ignoring unwind edges in ObjCARC when -fno-objc-arc-exception is enabled due to it's affect on correctness.
Specifically according to the semantics of ARC -fno-objc-arc-exception simply
states that it is expected that the unwind path out of a call *MAY* not release
objects. Thus we can have the situation where a release gets moved into a catch
block which we ignore when we remove a retain/release pair resulting in (even
though we assume the program is exiting anyways) the cleanup code path
potentially blowing up before program exit.
llvm-svn: 172599
Diffstat (limited to 'clang/lib/Driver/Tools.cpp')
0 files changed, 0 insertions, 0 deletions