[Lldb-commits] [lldb] [lldb] Add 'modify' type watchpoints, make it default (PR #66308)

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Wed Sep 13 19:40:25 PDT 2023


================
@@ -0,0 +1,17 @@
+#include <stdint.h>
+int main() {
+  int value = 5;
----------------
clayborg wrote:

If you take the address of "value" then it will always be in memory. Here we might be just getting lucky that the compiler choses to put this on the stack at -O0.

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


More information about the lldb-commits mailing list