LLDB  mainline
CommandOptionsProcessLaunch.h
Go to the documentation of this file.
1 //===-- CommandOptionsProcessLaunch.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_COMMANDOPTIONSPROCESSLAUNCH_H
10 #define LLDB_SOURCE_COMMANDS_COMMANDOPTIONSPROCESSLAUNCH_H
11 
14 
15 namespace lldb_private {
16 
17 // CommandOptionsProcessLaunch
18 
20 public:
22  // Keep default values of all options in one place: OptionParsingStarting
23  // ()
24  OptionParsingStarting(nullptr);
25  }
26 
27  ~CommandOptionsProcessLaunch() override = default;
28 
30  SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
31  lldb_private::ExecutionContext *execution_context) override;
32 
34  lldb_private::ExecutionContext *execution_context) override {
37  }
38 
39  llvm::ArrayRef<lldb_private::OptionDefinition> GetDefinitions() override;
40 
41  // Instance variables to hold the values for command options.
42 
45 }; // CommandOptionsProcessLaunch
46 
47 } // namespace lldb_private
48 
49 #endif // LLDB_SOURCE_COMMANDS_COMMANDOPTIONSPROCESSLAUNCH_H
lldb_private::ExecutionContext
Definition: ExecutionContext.h:292
lldb_private::CommandOptionsProcessLaunch::OptionParsingStarting
void OptionParsingStarting(lldb_private::ExecutionContext *execution_context) override
Definition: CommandOptionsProcessLaunch.h:33
ProcessLaunchInfo.h
lldb_private::CommandOptionsProcessLaunch::GetDefinitions
llvm::ArrayRef< lldb_private::OptionDefinition > GetDefinitions() override
Definition: CommandOptionsProcessLaunch.cpp:145
lldb_private::OptionGroup
Definition: Options.h:233
lldb_private::LazyBool
LazyBool
Definition: lldb-private-enumerations.h:115
Options.h
lldb_private::ProcessLaunchInfo::Clear
void Clear()
Definition: ProcessLaunchInfo.cpp:165
lldb_private::ProcessLaunchInfo
Definition: ProcessLaunchInfo.h:31
lldb_private::CommandOptionsProcessLaunch::launch_info
lldb_private::ProcessLaunchInfo launch_info
Definition: CommandOptionsProcessLaunch.h:43
lldb_private::CommandOptionsProcessLaunch::SetOptionValue
lldb_private::Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg, lldb_private::ExecutionContext *execution_context) override
Definition: CommandOptionsProcessLaunch.cpp:29
lldb_private::CommandOptionsProcessLaunch::disable_aslr
lldb_private::LazyBool disable_aslr
Definition: CommandOptionsProcessLaunch.h:44
lldb_private::Status
Definition: Status.h:44
uint32_t
lldb_private::CommandOptionsProcessLaunch::CommandOptionsProcessLaunch
CommandOptionsProcessLaunch()
Definition: CommandOptionsProcessLaunch.h:21
lldb_private
A class that represents a running process on the host machine.
Definition: SBCommandInterpreterRunOptions.h:16
lldb_private::eLazyBoolCalculate
@ eLazyBoolCalculate
Definition: lldb-private-enumerations.h:115
lldb_private::CommandOptionsProcessLaunch
Definition: CommandOptionsProcessLaunch.h:19
lldb_private::CommandOptionsProcessLaunch::~CommandOptionsProcessLaunch
~CommandOptionsProcessLaunch() override=default