summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorSanjoy Das <sanjoy@playingwithpointers.com>2017-05-01 17:07:56 +0000
committerSanjoy Das <sanjoy@playingwithpointers.com>2017-05-01 17:07:56 +0000
commitddebb703fc6e831f94d7305eab2e1e8547785a7f (patch)
tree9180d2954ee6be13dfc8e982018dc8a5f514335f /clang/lib/CodeGen/CodeGenModule.h
parentf1c0eafd5b10d33d957457ef292c56e6bab17938 (diff)
downloadbcm5719-llvm-ddebb703fc6e831f94d7305eab2e1e8547785a7f.tar.gz
bcm5719-llvm-ddebb703fc6e831f94d7305eab2e1e8547785a7f.zip
Use WeakVH instead of WeakTrackingVH in AliasSetTracker's UnkownInsts
In cases where an instruction (a call site, say) is RAUW'ed with some other value (this is possible via the `returned` attribute, for instance), 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. This relands r301426. llvm-svn: 301814
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud