[all-commits] [llvm/llvm-project] ecb2d8: [lldb][Windows] Read/Write PC after suspending thr...

Ayush Sahay via All-commits all-commits at lists.llvm.org
Fri Apr 17 09:30:36 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ecb2d8173782f547efac8db304c0eb41f2b0d632
      https://github.com/llvm/llvm-project/commit/ecb2d8173782f547efac8db304c0eb41f2b0d632
  Author: Ayush Sahay <quic_asahay at quicinc.com>
  Date:   2026-04-17 (Fri, 17 Apr 2026)

  Changed paths:
    M lldb/source/Plugins/Process/Windows/Common/NativeProcessWindows.cpp

  Log Message:
  -----------
  [lldb][Windows] Read/Write PC after suspending thread (#191371)

Currently, we access the PC before suspending the thread in case of a
software breakpoint exception. However, we can't reliably read or write
the thread context while the thread is running. So, suspend the thread
first and then read or write the PC when handling a software breakpoint
exception.

Co-authored-by: Ayush Sahay <asahay at qti.qualcomm.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list