[Lldb-commits] [lldb] LLDB: WatchAddress ignores modify option (PR #124847)

Ben Jackson via lldb-commits lldb-commits at lists.llvm.org
Tue Jan 28 14:58:47 PST 2025


================
@@ -1342,7 +1342,9 @@ lldb::SBWatchpoint SBTarget::WatchAddress(lldb::addr_t addr, size_t size,
 
   SBWatchpointOptions options;
   options.SetWatchpointTypeRead(read);
----------------
puremourning wrote:

It doesn't need to: It passes read bool directly to the Set... method so it's set based on the value of 'read'

https://github.com/llvm/llvm-project/pull/124847


More information about the lldb-commits mailing list