diff options
author | John Brawn <john.brawn@arm.com> | 2018-08-24 15:48:30 +0000 |
---|---|---|
committer | John Brawn <john.brawn@arm.com> | 2018-08-24 15:48:30 +0000 |
commit | 980da83f8417e4af10e78f8992e5e31586563ed7 (patch) | |
tree | c87cf84b2935dee7efbfffa68060fbe224bda111 /llvm/lib/Support/KnownBits.cpp | |
parent | 6cc0e63e2f020961c8262b94ae30a23ef0f030af (diff) | |
download | bcm5719-llvm-980da83f8417e4af10e78f8992e5e31586563ed7.tar.gz bcm5719-llvm-980da83f8417e4af10e78f8992e5e31586563ed7.zip |
[PhiValues] Use callback value handles to invalidate deleted values
The way that PhiValues is integrated with BasicAA it is possible for a pass
which uses BasicAA to pick up an instance of BasicAA that uses PhiValues without
intending to, and then delete values from a function in a way that causes
PhiValues to return dangling pointers to these deleted values. Fix this by
having a set of callback value handles to invalidate values when they're
deleted.
llvm-svn: 340613
Diffstat (limited to 'llvm/lib/Support/KnownBits.cpp')
0 files changed, 0 insertions, 0 deletions