[Lldb-commits] [lldb] [lldb][Windows] Invalidate cached register values on thread stop (PR #192430)

Ayush Sahay via lldb-commits lldb-commits at lists.llvm.org
Mon Apr 20 03:30:12 PDT 2026


================
@@ -28,6 +28,9 @@ class NativeRegisterContextWindows
   // Explicitly defining it ensures the class remains constructible.
   NativeRegisterContextWindows() {}
 
+  // Invalidate cached values in register context data structures.
+  virtual void InvalidateAllRegisters() {}
----------------
ayushsahay1837 wrote:

@DavidSpickett, thanks for the suggestion! Do you think that moving it further up into _NativeRegisterContext_ would be a better fit?

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


More information about the lldb-commits mailing list