diff options
author | Sanjoy Das <sanjoy@playingwithpointers.com> | 2018-02-20 23:19:34 +0000 |
---|---|---|
committer | Sanjoy Das <sanjoy@playingwithpointers.com> | 2018-02-20 23:19:34 +0000 |
commit | 737fa40ffad15482801cc60271aed40dd5de9c95 (patch) | |
tree | 66826396d645129f6ea4426e8ea4826f3985a9ef /lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStdStringFunction.py | |
parent | 6cd4861c22ef078c2a043ac6ffb1a4467dd85534 (diff) | |
download | bcm5719-llvm-737fa40ffad15482801cc60271aed40dd5de9c95.tar.gz bcm5719-llvm-737fa40ffad15482801cc60271aed40dd5de9c95.zip |
[DSE] Don't DSE stores that subsequent memmove calls read from
Summary:
We used to remove the first memmove in cases like this:
memmove(p, p+2, 8);
memmove(p, p+2, 8);
which is incorrect. Fix this by changing isPossibleSelfRead to what was most
likely the intended behavior.
Historical note: the buggy code was added in https://reviews.llvm.org/rL120974
to address PR8728.
Reviewers: rsmith
Subscribers: mcrosier, llvm-commits, jlebar
Differential Revision: https://reviews.llvm.org/D43425
llvm-svn: 325641
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStdStringFunction.py')
0 files changed, 0 insertions, 0 deletions