diff options
author | Yevgeny Rouban <yevgeny.rouban@azul.com> | 2019-10-21 06:52:08 +0000 |
---|---|---|
committer | Yevgeny Rouban <yevgeny.rouban@azul.com> | 2019-10-21 06:52:08 +0000 |
commit | 5e5af533ab16bad6dc5519b97b1820732d0141a5 (patch) | |
tree | 54ed0353a335fbb9d82ed0db49e750066879e594 /lldb/packages/Python/lldbsuite/test/python_api/frame/TestFrames.py | |
parent | ee881197b00186ada844ce0bb6969d6280a51775 (diff) | |
download | bcm5719-llvm-5e5af533ab16bad6dc5519b97b1820732d0141a5.tar.gz bcm5719-llvm-5e5af533ab16bad6dc5519b97b1820732d0141a5.zip |
[IR] Fix mayReadFromMemory() for writeonly calls
Current implementation of Instruction::mayReadFromMemory()
returns !doesNotAccessMemory() which is !ReadNone. This
does not take into account that the writeonly attribute
also indicates that the call does not read from memory.
The patch changes the predicate to !doesNotReadMemory()
that reflects the intended behavior.
Differential Revision: https://reviews.llvm.org/D69086
llvm-svn: 375389
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/frame/TestFrames.py')
0 files changed, 0 insertions, 0 deletions