diff options
author | Ben Jackson <puremourning@users.noreply.github.com> | 2025-02-05 00:03:13 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-04 16:03:13 -0800 |
commit | e8d437f827144061d051ecf199d4075bef317285 (patch) | |
tree | 43c697788301f269e87fcf0cae18ed6f70cf1a10 /llvm/lib/Object/WasmObjectFile.cpp | |
parent | 52b5e3638a39e977bebb491312a6f7c53314efec (diff) | |
download | llvm-e8d437f827144061d051ecf199d4075bef317285.zip llvm-e8d437f827144061d051ecf199d4075bef317285.tar.gz llvm-e8d437f827144061d051ecf199d4075bef317285.tar.bz2 |
[lldb] WatchAddress ignores modify option (#124847)
The WatchAddress API includes a flag to indicate if watchpoint should be
for read, modify or both. This API uses 2 booleans, but the 'modify'
flag was ignored and WatchAddress unconditionally watched write
(actually modify).
We now only watch for modify when the modify flag is true.
---
The included test fails prior to this patch and succeeds after. That is
previously specifying `False` for `modify` would still stop on _write_,
but after the patch correctly only stops on _read_
Diffstat (limited to 'llvm/lib/Object/WasmObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions