Skip to content

Commit 6bae1ab

Browse files
charles-zablitgithub-actions[bot]
authored andcommitted
Automerge: [lldb][windows] fix build issue (#195089)
Fix a build issue on Windows introduced by llvm/llvm-project#192964.
2 parents 5a36731 + abc0093 commit 6bae1ab

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ void ProcessWindows::RefreshStateAfterStop() {
415415
// If we're at a BreakpointSite, mark this as an Unexecuted Breakpoint.
416416
// We'll clear that state if we've actually executed the breakpoint.
417417
BreakpointSiteSP site(GetBreakpointSiteList().FindByAddress(pc));
418-
if (site && site->IsEnabled())
418+
if (site && IsBreakpointSiteEnabled(*site))
419419
stop_thread->SetThreadStoppedAtUnexecutedBP(pc);
420420

421421
switch (active_exception->GetExceptionCode()) {

0 commit comments

Comments
 (0)