llvm-project/llvm/lib/Transforms/ObjCARC
Michael Zolotukhin 336d75cc73 ProvenanceAnalysis: Store WeakTrackingVH instead of Value* in UnderlyingValue Cache.
Summary:
Since the value stored in the cache might be deleted or replaced with
something else, we need to use tracking ValueHandlers instead of plain
Value pointers. It was discovered in one of internal builds, and
unfortunately there is no small reproducer for the issue.

The cache was introduced in rL327328.

Reviewers: ahatanak, pete

Subscribers: hiraditya, llvm-commits

Differential Revision: https://reviews.llvm.org/D48407

llvm-svn: 335201
2018-06-21 05:14:00 +00:00
..
ARCRuntimeEntryPoints.h [Transforms] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-10-27 01:09:08 +00:00
BlotMapVector.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
CMakeLists.txt
DependencyAnalysis.cpp Sort the remaining #include lines in include/... and lib/.... 2017-06-06 11:49:48 +00:00
DependencyAnalysis.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
LLVMBuild.txt
ObjCARC.cpp Remove redundant includes from lib/Transforms. 2017-12-13 21:31:01 +00:00
ObjCARC.h Move Analysis/Utils/Local.h back to Transforms 2018-06-04 21:23:21 +00:00
ObjCARCAPElim.cpp Rename DEBUG macro to LLVM_DEBUG. 2018-05-14 12:53:11 +00:00
ObjCARCContract.cpp [WebAssembly] Add Wasm personality and isScopedEHPersonality() 2018-05-17 20:52:03 +00:00
ObjCARCExpand.cpp Rename DEBUG macro to LLVM_DEBUG. 2018-05-14 12:53:11 +00:00
ObjCARCOpts.cpp [WebAssembly] Add Wasm personality and isScopedEHPersonality() 2018-05-17 20:52:03 +00:00
ProvenanceAnalysis.cpp Improve caching scheme in ProvenanceAnalysis. 2018-03-12 20:36:25 +00:00
ProvenanceAnalysis.h ProvenanceAnalysis: Store WeakTrackingVH instead of Value* in UnderlyingValue Cache. 2018-06-21 05:14:00 +00:00
ProvenanceAnalysisEvaluator.cpp Sort the remaining #include lines in include/... and lib/.... 2017-06-06 11:49:48 +00:00
PtrState.cpp [ObjCARC] Prevent code motion into a catchswitch 2018-05-16 04:52:18 +00:00
PtrState.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00