[Lldb-commits] [lldb] c84f2ba - Add one more verbose watchpoint logging for arm-ubuntu

Jason Molenda via lldb-commits lldb-commits at lists.llvm.org
Wed Jan 31 11:45:13 PST 2024


Author: Jason Molenda
Date: 2024-01-31T11:45:08-08:00
New Revision: c84f2bac93f38c903bae2e92fc7749d93c2e1112

URL: https://github.com/llvm/llvm-project/commit/c84f2bac93f38c903bae2e92fc7749d93c2e1112
DIFF: https://github.com/llvm/llvm-project/commit/c84f2bac93f38c903bae2e92fc7749d93c2e1112.diff

LOG: Add one more verbose watchpoint logging for arm-ubuntu

Added: 
    

Modified: 
    lldb/source/Breakpoint/WatchpointAlgorithms.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/source/Breakpoint/WatchpointAlgorithms.cpp b/lldb/source/Breakpoint/WatchpointAlgorithms.cpp
index 4e78bd9730521..21993c5f76945 100644
--- a/lldb/source/Breakpoint/WatchpointAlgorithms.cpp
+++ b/lldb/source/Breakpoint/WatchpointAlgorithms.cpp
@@ -77,6 +77,13 @@ WatchpointAlgorithms::PowerOf2Watchpoints(addr_t user_addr, size_t user_size,
                                           size_t max_byte_size,
                                           uint32_t address_byte_size) {
 
+  Log *log = GetLog(LLDBLog::Watchpoints);
+  LLDB_LOGV(log,
+            "AtomizeWatchpointRequest user request addr {0:x} size {1} "
+            "min_byte_size {2}, max_byte_size {3}, address_byte_size {4}",
+            user_addr, user_size, min_byte_size, max_byte_size,
+            address_byte_size);
+
   // Can't watch zero bytes.
   if (user_size == 0)
     return {};


        


More information about the lldb-commits mailing list