[Lldb-commits] [lldb] [lldb] Add support for large watchpoints in lldb (PR #79962)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Thu Feb 1 06:12:12 PST 2024


================
@@ -448,6 +448,32 @@ enum WatchpointWriteType {
   eWatchpointWriteTypeOnModify
 };
 
+/// The hardware and native stub capabilities for a given target,
+/// for translating a user's watchpoint request into hardware
+/// capable watchpoint resources.
+FLAGS_ENUM(WatchpointHardwareFeature){
+    /// lldb will fall back to a default that assumes the target
+    /// can watch up to pointer-size power-of-2 regions, aligned to
+    /// power-of-2.
+    eWatchpointHardwareFeatureUnknown = (1u << 0),
+
+    /// Intel systems can watch 1, 2, 4, or 8 bytes (in 64-bit targets),
----------------
DavidSpickett wrote:

"on 64 bit targets"? In sounds off like the watched region is inside something else.

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


More information about the lldb-commits mailing list