LLDB mainline
ScriptedBreakpointOverrideResolver.cpp
Go to the documentation of this file.
1//===----------------------------------------------------------------------===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
12
13namespace lldb_private {
15 Target &target, lldb::BreakpointResolverSP initial_sp) {
17 {}, m_class_name, initial_sp->GetDepth(), m_args_data));
18 if (candidate_sp->OverridesResolver(target, initial_sp))
19 return candidate_sp;
20 return {};
21}
22
24 // FIXME: we should make sure the module and class exist, though that will
25 // to happen in a scripting language specific function.
26 return llvm::Error::success();
27}
28} // namespace lldb_private
"lldb/Breakpoint/BreakpointResolverScripted.h" This class sets breakpoints on a given Address.
lldb::BreakpointResolverSP CheckForOverride(Target &target, lldb::BreakpointResolverSP initial_sp) override
A class that represents a running process on the host machine.
std::shared_ptr< lldb_private::BreakpointResolver > BreakpointResolverSP