mirror of
https://github.com/intel/llvm.git
synced 2026-01-20 10:58:11 +08:00
Revert "[lldb] [mostly NFC] Large WP foundation: WatchpointResources (#68845)"
...and follow ups. As it has caused test failures on Linux Arm and AArch64: https://lab.llvm.org/buildbot/#/builders/96/builds/49126 https://lab.llvm.org/buildbot/#/builders/17/builds/45824 ``` lldb-shell :: Subprocess/clone-follow-child-wp.test lldb-shell :: Subprocess/fork-follow-child-wp.test lldb-shell :: Subprocess/vfork-follow-child-wp.test ``` This reverts commita6c62bf1a4, commita0a1ff3ab4and commitfc6b72523f.
This commit is contained in:
@@ -519,10 +519,10 @@ protected:
|
||||
BreakpointSiteSP bp_site_sp(
|
||||
process->GetBreakpointSiteList().FindByID(bp_site_id));
|
||||
if (bp_site_sp) {
|
||||
const size_t num_owners = bp_site_sp->GetNumberOfConstituents();
|
||||
const size_t num_owners = bp_site_sp->GetNumberOfOwners();
|
||||
for (size_t i = 0; i < num_owners; i++) {
|
||||
Breakpoint &bp_ref =
|
||||
bp_site_sp->GetConstituentAtIndex(i)->GetBreakpoint();
|
||||
bp_site_sp->GetOwnerAtIndex(i)->GetBreakpoint();
|
||||
if (!bp_ref.IsInternal()) {
|
||||
bp_ref.SetIgnoreCount(m_options.m_ignore);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user