summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp
diff options
context:
space:
mode:
authorYevgeny Rouban <yevgeny.rouban@azul.com>2019-10-21 06:52:08 +0000
committerYevgeny Rouban <yevgeny.rouban@azul.com>2019-10-21 06:52:08 +0000
commit5e5af533ab16bad6dc5519b97b1820732d0141a5 (patch)
tree54ed0353a335fbb9d82ed0db49e750066879e594 /lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp
parentee881197b00186ada844ce0bb6969d6280a51775 (diff)
downloadbcm5719-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/thread/main.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud