summaryrefslogtreecommitdiff
path: root/test/tools
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
commitf23af8bfd8609b9594947876209c3f0de070ea4f (patch)
tree2a1398d26f20184c7a1ff038c68625e9bc4698d9 /test/tools
parent04ae34b0aa918b97cc94c6ac3cf30bc19cd5471e (diff)
downloadllvm-f23af8bfd8609b9594947876209c3f0de070ea4f.tar.gz
llvm-f23af8bfd8609b9594947876209c3f0de070ea4f.tar.bz2
llvm-f23af8bfd8609b9594947876209c3f0de070ea4f.tar.xz
[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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194083 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/tools')
0 files changed, 0 insertions, 0 deletions