[Lldb-commits] [lldb] [lldb][Windows] Invalidate cached register values on thread stop (PR #192430)
David Spickett via lldb-commits
lldb-commits at lists.llvm.org
Mon Apr 20 03:37:20 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() {}
----------------
DavidSpickett wrote:
It might be the right thing to do in the end. But for now, we know that two classes want the same thing so moving it up only far enough to make that work would be the conservative thing to do.
Try both if you like but I'm fine with the smallest change here.
https://github.com/llvm/llvm-project/pull/192430
More information about the lldb-commits
mailing list