[Lldb-commits] [PATCH] D154201: [lldb][AArch64] Fix tagged watch test on Graviton 3

Jason Molenda via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Jun 30 15:33:51 PDT 2023


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



More information about the lldb-commits mailing list