jasonmolenda wrote:

Maybe I should just use a flag param, and adopt the BreakpointCreate style 
naming convention, even if there's only this one API right now (we should 
provide all three so driver authors don't need to duplicate the work, 
especially for a variable path).  e.g.

```
   SBWatchpoint SBTarget::WatchpointCreateByAddress(addr_t address, size_t 
size, uint32_t access_flags, SBError &error);
```

with `eWatchpointAccess{Read,Write,Modify}` flags defined.

https://github.com/llvm/llvm-project/pull/66308
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to