jasonmolenda added a comment.

Interesting.  I remember reading in the recent arm arm docs about how there may 
be false watchpoint notifications when a processor is in SVE Streaming Mode and 
a write happens near a watchpoint, but I didn't realize that could happen 
outside of that context.  I'm working on using power-of-2 mask watchpoints on 
Darwin and one of the problems I'll need to handle is similar, where a user 
watches a 48 byte object, I need to watch 64 bytes and ignore writes to the 
other 16.  My current thinking is to add a new type of watchpoint in addition 
to "read" and "write" -- "modify", where lldb will compare the bytes of the 
watched object and silently continue if they are unmodified.  I suspect that's 
what most people using write watchpoints would actually want, outside of this 
issue of false watchpoint hits.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D154201/new/

https://reviews.llvm.org/D154201

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to