aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/LiveDebugVariables.cpp
diff options
context:
space:
mode:
authorMichael Zolotukhin <mzolotukhin@apple.com>2018-06-21 05:14:00 +0000
committerMichael Zolotukhin <mzolotukhin@apple.com>2018-06-21 05:14:00 +0000
commit336d75cc73ee268d9b4d08b585a5532c3eb54f73 (patch)
tree3538f5d78ad5e4aaadcadba01b90530c162e25b2 /llvm/lib/CodeGen/LiveDebugVariables.cpp
parent2da60bc231859b846d3cbcb0681c2cb6510f8187 (diff)
downloadllvm-336d75cc73ee268d9b4d08b585a5532c3eb54f73.zip
llvm-336d75cc73ee268d9b4d08b585a5532c3eb54f73.tar.gz
llvm-336d75cc73ee268d9b4d08b585a5532c3eb54f73.tar.bz2
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
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
0 files changed, 0 insertions, 0 deletions