diff options
author | Sanjoy Das <sanjoy@playingwithpointers.com> | 2017-04-26 16:21:02 +0000 |
---|---|---|
committer | Sanjoy Das <sanjoy@playingwithpointers.com> | 2017-04-26 16:21:02 +0000 |
commit | 8b32b8195448ee2b70133ca920291842cc61e6b2 (patch) | |
tree | 7cb34c99149c20c961a80a737213fc73cf070071 /clang/lib/CodeGen/CodeGenModule.h | |
parent | 7de051ba0c4632dc5fcabc4f17cdf0cedf97724e (diff) | |
download | bcm5719-llvm-8b32b8195448ee2b70133ca920291842cc61e6b2.tar.gz bcm5719-llvm-8b32b8195448ee2b70133ca920291842cc61e6b2.zip |
Use WeakVH instead of WeakTrackingVH in AliasSetTracker's UnkownInsts
Summary:
In cases where an instruction (a call site, say) is RAUW'ed with some
other value (this is possible via the `returned` attribute, amongst
other things), we want the slot in UnknownInsts to point to the
original Instruction we wanted to track, not the value it got replaced
by.
Fixes PR32587.
Reviewers: davide
Subscribers: mcrosier, llvm-commits
Differential Revision: https://reviews.llvm.org/D32268
llvm-svn: 301426
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
0 files changed, 0 insertions, 0 deletions