[objc-arc] Track if we encountered an additive overflow while computing {TopDown...
authorMichael Gottesman <mgottesman@apple.com>
Fri, 9 Aug 2013 23:22:27 +0000 (23:22 +0000)
committerMichael Gottesman <mgottesman@apple.com>
Fri, 9 Aug 2013 23:22:27 +0000 (23:22 +0000)
commit3ed7576a3bfd8e4e76e7b8f7ae76422c1ae48f72
treee63f58fb6977e553d93ce593cb9fde258bfaf04d
parent835738ce54edb4746cfa4cdfc76608fec03fab3a
[objc-arc] Track if we encountered an additive overflow while computing {TopDown,BottomUp}PathCounts and do nothing if it occurred.

I fixed the aforementioned problems that came up on some of the linux boxes.
Major thanks to Nick Lewycky for his help debugging!

rdar://14590914

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188122 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/ObjCARC/ObjCARCOpts.cpp
test/Transforms/ObjCARC/path-overflow.ll