diff options
author | Ahmed Bougacha <ahmed.bougacha@gmail.com> | 2015-05-11 23:09:46 +0000 |
---|---|---|
committer | Ahmed Bougacha <ahmed.bougacha@gmail.com> | 2015-05-11 23:09:46 +0000 |
commit | b61696656eb850d139572dae75bcc4c2f0bed9f8 (patch) | |
tree | c8c18625c24b92d726ccd9b9fdcaf1f94452fdc4 /llvm/lib/Fuzzer/FuzzerTraceState.cpp | |
parent | 96b481959f3c009ea6e11b38d48c876c0f0436f5 (diff) | |
download | bcm5719-llvm-b61696656eb850d139572dae75bcc4c2f0bed9f8.tar.gz bcm5719-llvm-b61696656eb850d139572dae75bcc4c2f0bed9f8.zip |
[MemCpyOpt] Look at any dependency -not just source- for memset+memcpy.
This fixes another miscompile introduced by r235232: when there was a
dependency on the memcpy destination other than the memset, we would
ignore it, because we only looked at the source dependency.
It was a mistake to use SrcDepInfo. Instead, just use DepInfo.
llvm-svn: 237066
Diffstat (limited to 'llvm/lib/Fuzzer/FuzzerTraceState.cpp')
0 files changed, 0 insertions, 0 deletions