llvm/lib/Transforms/ObjCARC
Akira Hatanaka 1115fbdce4 [ObjCArc] Do not dereference an invalidated iterator.
Fix a bug in ARC contract pass where an iterator that pointed to a
deleted instruction was dereferenced.

It appears that tryToContractReleaseIntoStoreStrong was incorrectly
assuming that a call to objc_retain would not immediately follow a call
to objc_release.

rdar://problem/25276306



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@299507 91177308-0d34-0410-b5e6-96231b3b80d8
2017-04-05 03:44:09 +00:00
..
ARCRuntimeEntryPoints.h Rename AttributeSet to AttributeList 2017-03-21 16:57:19 +00:00
BlotMapVector.h
CMakeLists.txt [CMake] NFC. Updating CMake dependency specifications 2016-11-17 04:36:50 +00:00
DependencyAnalysis.cpp
DependencyAnalysis.h
LLVMBuild.txt
ObjCARC.cpp
ObjCARC.h
ObjCARCAPElim.cpp
ObjCARCContract.cpp [ObjCArc] Do not dereference an invalidated iterator. 2017-04-05 03:44:09 +00:00
ObjCARCExpand.cpp
ObjCARCOpts.cpp Remove redundant code. NFC. 2017-02-25 00:59:49 +00:00
ProvenanceAnalysis.cpp
ProvenanceAnalysis.h
ProvenanceAnalysisEvaluator.cpp
PtrState.cpp
PtrState.h