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

Jason Molenda via lldb-commits lldb-commits at lists.llvm.org
Wed Sep 13 20:05:09 PDT 2023


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

Yeah, if this was compiled with any optimization at all, the body of the function becomes `mv x0, #0xa`; `ret` so I didn't try to defeat compiler cleverness.

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


More information about the lldb-commits mailing list