Skip to content

[lldb][windows] fix build issue#195089

Merged
felipepiovezan merged 1 commit into
llvm:mainfrom
charles-zablit:cz/lldb/windows/fix-build-issue
Apr 30, 2026
Merged

[lldb][windows] fix build issue#195089
felipepiovezan merged 1 commit into
llvm:mainfrom
charles-zablit:cz/lldb/windows/fix-build-issue

Conversation

@charles-zablit

Copy link
Copy Markdown
Contributor

Fix a build issue on Windows introduced by #192964.

@llvmorg-github-actions

Copy link
Copy Markdown

@llvm/pr-subscribers-lldb

Author: Charles Zablit (charles-zablit)

Changes

Fix a build issue on Windows introduced by #192964.


Full diff: https://github.com/llvm/llvm-project/pull/195089.diff

1 Files Affected:

  • (modified) lldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp (+1-1)
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()) {

@felipepiovezan felipepiovezan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix!

@felipepiovezan felipepiovezan enabled auto-merge (squash) April 30, 2026 14:08

@weliveindetail weliveindetail left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixes the issue for me locally 👍

@felipepiovezan felipepiovezan merged commit abc0093 into llvm:main Apr 30, 2026
12 checks passed
medismailben pushed a commit to medismailben/llvm-project that referenced this pull request May 1, 2026
Fix a build issue on Windows introduced by
llvm#192964.

(cherry picked from commit abc0093)
enferex pushed a commit to enferex/llvm-project that referenced this pull request May 5, 2026
Fix a build issue on Windows introduced by
llvm#192964.
moar55 pushed a commit to moar55/llvm-project that referenced this pull request May 12, 2026
Fix a build issue on Windows introduced by
llvm#192964.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants