[lldb][windows] fix build issue (#195089)

Fix a build issue on Windows introduced by
https://github.com/llvm/llvm-project/pull/192964.
This commit is contained in:
Charles Zablit
2026-04-30 15:11:37 +01:00
committed by GitHub
parent bcc9a55bdb
commit abc009327a

View File

@@ -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()) {