[Lldb-commits] [lldb] [lldb][Windows] Read/Write PC after suspending thread (PR #191371)
David Spickett via lldb-commits
lldb-commits at lists.llvm.org
Fri Apr 10 04:04:38 PDT 2026
DavidSpickett wrote:
> This was discovered while implementing support for caching the thread context in NativeRegisterContextWindows_arm64 to improve read performance. Currently, we retrieve the thread context for each read or write operation.
Right, so for your caching to work, all operations on the context must be done after stopping the process. Otherwise you'd cache a context with undefined contents and anything could be in there.
https://github.com/llvm/llvm-project/pull/191371
More information about the lldb-commits
mailing list