summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorMichael Gottesman <mgottesman@apple.com>2013-11-05 16:02:40 +0000
committerMichael Gottesman <mgottesman@apple.com>2013-11-05 16:02:40 +0000
commit24b2f6fddacb9393bc21332ae6b616f7ce8b220c (patch)
tree512da735a0236ecd7887431fad9e7565fbe1136a /clang/lib/CodeGen/CodeGenModule.cpp
parent5877663622877127b0cfdf8230bd627271f50d9c (diff)
downloadbcm5719-llvm-24b2f6fddacb9393bc21332ae6b616f7ce8b220c.tar.gz
bcm5719-llvm-24b2f6fddacb9393bc21332ae6b616f7ce8b220c.zip
[objc-arc] Convert the one directional retain/release relation assert to a conditional check + fail.
Due to the previously added overflow checks, we can have a retain/release relation that is one directional. This occurs specifically when we run into an additive overflow causing us to drop state in only one direction. If that occurs, we should bail and not optimize that retain/release instead of asserting. Apologies for the size of the testcase. It is necessary to cause the additive cfg overflow to trigger. rdar://15377890 llvm-svn: 194083
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud