LLDB
mainline
|
#include <OptionGroupPlatform.h>
Public Member Functions | |
OptionGroupPlatform (bool include_platform_option) | |
~OptionGroupPlatform () override=default | |
llvm::ArrayRef< OptionDefinition > | GetDefinitions () override |
Status | SetOptionValue (uint32_t option_idx, llvm::StringRef option_value, ExecutionContext *execution_context) override |
Status | SetOptionValue (uint32_t, const char *, ExecutionContext *)=delete |
void | OptionParsingStarting (ExecutionContext *execution_context) override |
lldb::PlatformSP | CreatePlatformWithOptions (CommandInterpreter &interpreter, const ArchSpec &arch, bool make_selected, Status &error, ArchSpec &platform_arch) const |
bool | PlatformWasSpecified () const |
void | SetPlatformName (const char *platform_name) |
ConstString | GetSDKRootDirectory () const |
void | SetSDKRootDirectory (ConstString sdk_root_directory) |
ConstString | GetSDKBuild () const |
void | SetSDKBuild (ConstString sdk_build) |
bool | PlatformMatches (const lldb::PlatformSP &platform_sp) const |
![]() | |
OptionGroup ()=default | |
virtual | ~OptionGroup ()=default |
virtual Status | OptionParsingFinished (ExecutionContext *execution_context) |
Protected Attributes | |
std::string | m_platform_name |
ConstString | m_sdk_sysroot |
ConstString | m_sdk_build |
llvm::VersionTuple | m_os_version |
bool | m_include_platform_option |
Definition at line 21 of file OptionGroupPlatform.h.
|
inline |
Definition at line 23 of file OptionGroupPlatform.h.
|
overridedefault |
PlatformSP OptionGroupPlatform::CreatePlatformWithOptions | ( | CommandInterpreter & | interpreter, |
const ArchSpec & | arch, | ||
bool | make_selected, | ||
Status & | error, | ||
ArchSpec & | platform_arch | ||
) | const |
Definition at line 18 of file OptionGroupPlatform.cpp.
References lldb_private::PlatformList::Create(), error(), lldb_private::CommandInterpreter::GetDebugger(), lldb_private::PlatformList::GetOrCreate(), lldb_private::Debugger::GetPlatformList(), lldb_private::ArchSpec::GetTriple(), lldb_private::ArchSpec::IsValid(), and lldb_private::PlatformList::SetSelectedPlatform().
|
overridevirtual |
Implements lldb_private::OptionGroup.
Definition at line 86 of file OptionGroupPlatform.cpp.
References g_option_table.
|
inline |
Definition at line 56 of file OptionGroupPlatform.h.
References m_sdk_build.
|
inline |
Definition at line 50 of file OptionGroupPlatform.h.
References m_sdk_sysroot.
|
overridevirtual |
Implements lldb_private::OptionGroup.
Definition at line 62 of file OptionGroupPlatform.cpp.
bool OptionGroupPlatform::PlatformMatches | ( | const lldb::PlatformSP & | platform_sp | ) | const |
Definition at line 128 of file OptionGroupPlatform.cpp.
|
inline |
Definition at line 41 of file OptionGroupPlatform.h.
References m_platform_name.
|
overridevirtual |
Implements lldb_private::OptionGroup.
Definition at line 94 of file OptionGroupPlatform.cpp.
References error(), g_option_table, lldb_private::OptionDefinition::short_option, and string().
|
delete |
|
inline |
Definition at line 43 of file OptionGroupPlatform.h.
References m_platform_name.
Referenced by lldb::SBDebugger::CreateTarget().
|
inline |
Definition at line 58 of file OptionGroupPlatform.h.
References m_sdk_build.
|
inline |
Definition at line 52 of file OptionGroupPlatform.h.
References m_sdk_sysroot.
|
protected |
Definition at line 67 of file OptionGroupPlatform.h.
|
protected |
Definition at line 66 of file OptionGroupPlatform.h.
|
protected |
Definition at line 63 of file OptionGroupPlatform.h.
Referenced by PlatformWasSpecified(), and SetPlatformName().
|
protected |
Definition at line 65 of file OptionGroupPlatform.h.
Referenced by GetSDKBuild(), and SetSDKBuild().
|
protected |
Definition at line 64 of file OptionGroupPlatform.h.
Referenced by GetSDKRootDirectory(), and SetSDKRootDirectory().