commit | fec731bad89dc60aad7a72a7feb841eeeb64e7bf | [log] [tgz] |
---|---|---|
author | Akira Hatanaka <ahatanaka@apple.com> | Thu Aug 31 18:27:47 2017 +0000 |
committer | Akira Hatanaka <ahatanaka@apple.com> | Thu Aug 31 18:27:47 2017 +0000 |
tree | b0f80cafc05c3983233c99b4a2f4de3568a22654 | |
parent | 3143eac5c52ae9f234ca8e38ccdbc0199cea676f [diff] |
[ObjCARC] Pass the correct BasicBlock to fix assertion failure. The BasicBlock passed to FindPredecessorRetainWithSafePath should be the parent block of Autorelease. This fixes a crash that occurs in FindDependencies when StartInst is not in StartBB. rdar://problem/33866381 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@312266 91177308-0d34-0410-b5e6-96231b3b80d8