[Lldb-commits] [lldb] [lldb][windows] fix build issue (PR #195089)

Charles Zablit via lldb-commits lldb-commits at lists.llvm.org
Thu Apr 30 07:01:42 PDT 2026


https://github.com/charles-zablit created https://github.com/llvm/llvm-project/pull/195089

Fix a build issue on Windows introduced by https://github.com/llvm/llvm-project/pull/192964.

>From c275c58b1bde96b06d8a30bc0be769d815ec9994 Mon Sep 17 00:00:00 2001
From: Charles Zablit <c_zablit at apple.com>
Date: Thu, 30 Apr 2026 15:00:21 +0100
Subject: [PATCH] [lldb][windows] fix build issue

---
 lldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp b/lldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp
index 460225ea455e3..c41547a2c0961 100644
--- a/lldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp
+++ b/lldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp
@@ -415,7 +415,7 @@ void ProcessWindows::RefreshStateAfterStop() {
   // If we're at a BreakpointSite, mark this as an Unexecuted Breakpoint.
   // We'll clear that state if we've actually executed the breakpoint.
   BreakpointSiteSP site(GetBreakpointSiteList().FindByAddress(pc));
-  if (site && site->IsEnabled())
+  if (site && IsBreakpointSiteEnabled(*site))
     stop_thread->SetThreadStoppedAtUnexecutedBP(pc);
 
   switch (active_exception->GetExceptionCode()) {



More information about the lldb-commits mailing list