LLDB  mainline
CommandObjectBreakpoint.h
Go to the documentation of this file.
1 //===-- CommandObjectBreakpoint.h -------------------------------*- C++ -*-===//
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 
9 #ifndef LLDB_SOURCE_COMMANDS_COMMANDOBJECTBREAKPOINT_H
10 #define LLDB_SOURCE_COMMANDS_COMMANDOBJECTBREAKPOINT_H
11 
14 
15 namespace lldb_private {
16 
17 // CommandObjectMultiwordBreakpoint
18 
20 public:
22 
24 
26  Args &args, Target *target, CommandReturnObject &result,
27  BreakpointIDList *valid_ids,
29  VerifyIDs(args, target, true, result, valid_ids, purpose);
30  }
31 
32  static void
34  BreakpointIDList *valid_ids,
36  VerifyIDs(args, target, false, result, valid_ids, purpose);
37  }
38 
39 private:
40  static void VerifyIDs(Args &args, Target *target, bool allow_locations,
41  CommandReturnObject &result,
42  BreakpointIDList *valid_ids,
44 };
45 
46 } // namespace lldb_private
47 
48 #endif // LLDB_SOURCE_COMMANDS_COMMANDOBJECTBREAKPOINT_H
BreakpointName.h
lldb_private::CommandObjectMultiwordBreakpoint::CommandObjectMultiwordBreakpoint
CommandObjectMultiwordBreakpoint(CommandInterpreter &interpreter)
Definition: CommandObjectBreakpoint.cpp:2366
lldb_private::CommandObjectMultiwordBreakpoint::VerifyIDs
static void VerifyIDs(Args &args, Target *target, bool allow_locations, CommandReturnObject &result, BreakpointIDList *valid_ids, BreakpointName::Permissions::PermissionKinds purpose)
Definition: CommandObjectBreakpoint.cpp:2422
lldb_private::Args
Definition: Args.h:33
lldb_private::Target
Definition: Target.h:445
lldb_private::CommandObjectMultiword
Definition: CommandObjectMultiword.h:19
lldb_private::CommandObjectMultiwordBreakpoint
Definition: CommandObjectBreakpoint.h:19
lldb_private::CommandObjectMultiwordBreakpoint::VerifyBreakpointIDs
static void VerifyBreakpointIDs(Args &args, Target *target, CommandReturnObject &result, BreakpointIDList *valid_ids, BreakpointName::Permissions::PermissionKinds purpose)
Definition: CommandObjectBreakpoint.h:33
lldb_private::BreakpointName::Permissions::PermissionKinds
PermissionKinds
Definition: BreakpointName.h:36
lldb_private::CommandInterpreter
Definition: CommandInterpreter.h:221
CommandObjectMultiword.h
lldb_private::CommandObjectMultiwordBreakpoint::~CommandObjectMultiwordBreakpoint
~CommandObjectMultiwordBreakpoint() override
lldb_private::CommandReturnObject
Definition: CommandReturnObject.h:25
lldb_private::CommandObjectMultiwordBreakpoint::VerifyBreakpointOrLocationIDs
static void VerifyBreakpointOrLocationIDs(Args &args, Target *target, CommandReturnObject &result, BreakpointIDList *valid_ids, BreakpointName::Permissions ::PermissionKinds purpose)
Definition: CommandObjectBreakpoint.h:25
lldb_private
A class that represents a running process on the host machine.
Definition: SBCommandInterpreterRunOptions.h:16
lldb_private::BreakpointIDList
Definition: BreakpointIDList.h:25