[LoongArch][Clang] Make the parameters and return value of {x,}vorn.v builti ns ...
[llvm-project.git] / lldb / source / Commands / CommandOptionsProcessAttach.h
blob02daf1aa769a5d8c36aab2a88f0ef0e6e1c434a3
1 //===-- CommandOptionsProcessAttach.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 //===----------------------------------------------------------------------===//
9 #ifndef LLDB_SOURCE_COMMANDS_COMMANDOPTIONSPROCESSATTACH_H
10 #define LLDB_SOURCE_COMMANDS_COMMANDOPTIONSPROCESSATTACH_H
12 #include "lldb/Interpreter/Options.h"
13 #include "lldb/Target/Process.h"
15 namespace lldb_private {
17 // CommandOptionsProcessAttach
19 class CommandOptionsProcessAttach : public lldb_private::OptionGroup {
20 public:
21 CommandOptionsProcessAttach() {
22 // Keep default values of all options in one place: OptionParsingStarting
23 // ()
24 OptionParsingStarting(nullptr);
27 ~CommandOptionsProcessAttach() override = default;
29 lldb_private::Status
30 SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
31 lldb_private::ExecutionContext *execution_context) override;
33 void OptionParsingStarting(
34 lldb_private::ExecutionContext *execution_context) override {
35 attach_info.Clear();
38 llvm::ArrayRef<lldb_private::OptionDefinition> GetDefinitions() override;
40 // Instance variables to hold the values for command options.
42 lldb_private::ProcessAttachInfo attach_info;
43 }; // CommandOptionsProcessAttach
45 } // namespace lldb_private
47 #endif // LLDB_SOURCE_COMMANDS_COMMANDOPTIONSPROCESSATTACH_H