summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/KnownBits.cpp
diff options
context:
space:
mode:
authorJohn Brawn <john.brawn@arm.com>2018-08-24 15:48:30 +0000
committerJohn Brawn <john.brawn@arm.com>2018-08-24 15:48:30 +0000
commit980da83f8417e4af10e78f8992e5e31586563ed7 (patch)
treec87cf84b2935dee7efbfffa68060fbe224bda111 /llvm/lib/Support/KnownBits.cpp
parent6cc0e63e2f020961c8262b94ae30a23ef0f030af (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud