28 error.SetErrorStringWithFormatv(
29 "unable to find a plug-in for the platform named \"{0}\"",
34 !platform_sp->IsCompatibleArchitecture(
36 error.SetErrorStringWithFormatv(
"platform '{0}' doesn't support '{1}'",
37 platform_sp->GetPluginName(),
74 "use for this target, creating the "
75 "platform if necessary."},
78 "Specify the initial SDK version to use prior to connecting."},
81 "Specify the initial SDK build number."},
84 "that contains a root of all "
85 "remote system files."}};
91 return result.drop_front();
96 llvm::StringRef option_arg,
104 switch (short_option) {
111 error.SetErrorStringWithFormatv(
"invalid version string '{0}'",
124 llvm_unreachable(
"Unimplemented option");
static llvm::raw_ostream & error(Stream &strm)
static constexpr OptionDefinition g_option_table[]
An architecture specification class.
bool IsValid() const
Tests if this ArchSpec is valid.
llvm::Triple & GetTriple()
Architecture triple accessor.
PlatformList & GetPlatformList()
"lldb/Target/ExecutionContext.h" A class that contains an execution context.
A class that represents a running process on the host machine.
std::shared_ptr< lldb_private::Platform > PlatformSP
int short_option
Single character for this option.