Path: blob/main/contrib/llvm-project/lldb/source/Commands/CommandObjectBreakpoint.h
39587 views
//===-- CommandObjectBreakpoint.h -------------------------------*- C++ -*-===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//78#ifndef LLDB_SOURCE_COMMANDS_COMMANDOBJECTBREAKPOINT_H9#define LLDB_SOURCE_COMMANDS_COMMANDOBJECTBREAKPOINT_H1011#include "lldb/Breakpoint/BreakpointName.h"12#include "lldb/Interpreter/CommandObjectMultiword.h"1314namespace lldb_private {1516// CommandObjectMultiwordBreakpoint1718class CommandObjectMultiwordBreakpoint : public CommandObjectMultiword {19public:20CommandObjectMultiwordBreakpoint(CommandInterpreter &interpreter);2122~CommandObjectMultiwordBreakpoint() override;2324static void VerifyBreakpointOrLocationIDs(25Args &args, Target *target, CommandReturnObject &result,26BreakpointIDList *valid_ids,27BreakpointName::Permissions ::PermissionKinds purpose) {28VerifyIDs(args, target, true, result, valid_ids, purpose);29}3031static void32VerifyBreakpointIDs(Args &args, Target *target, CommandReturnObject &result,33BreakpointIDList *valid_ids,34BreakpointName::Permissions::PermissionKinds purpose) {35VerifyIDs(args, target, false, result, valid_ids, purpose);36}3738private:39static void VerifyIDs(Args &args, Target *target, bool allow_locations,40CommandReturnObject &result,41BreakpointIDList *valid_ids,42BreakpointName::Permissions::PermissionKinds purpose);43};4445} // namespace lldb_private4647#endif // LLDB_SOURCE_COMMANDS_COMMANDOBJECTBREAKPOINT_H484950