9#ifndef LLDB_TARGET_PLATFORM_H
10#define LLDB_TARGET_PLATFORM_H
36#include "llvm/Support/Compiler.h"
37#include "llvm/Support/Error.h"
38#include "llvm/Support/VersionTuple.h"
113 llvm::StringRef triple);
311 bool *did_create_ptr);
316 bool *did_create_ptr);
331 virtual std::vector<ArchSpec>
374 llvm::StringRef plugin_name,
380 llvm::StringRef plugin_name,
Debugger &debugger,
455 virtual llvm::Expected<std::pair<XcodeSDK, bool>>
457 return llvm::make_error<UnimplementedError>(
458 llvm::formatv(
"{0} not implemented for '{1}' platform.",
459 LLVM_PRETTY_FUNCTION,
GetName()));
471 virtual llvm::Expected<std::string>
473 return llvm::make_error<UnimplementedError>(
474 llvm::formatv(
"{0} not implemented for '{1}' platform.",
475 LLVM_PRETTY_FUNCTION,
GetName()));
483 virtual llvm::Expected<XcodeSDK>
485 return llvm::make_error<UnimplementedError>(
486 llvm::formatv(
"{0} not implemented for '{1}' platform.",
487 LLVM_PRETTY_FUNCTION,
GetName()));
498 virtual llvm::Expected<std::string>
500 return llvm::make_error<UnimplementedError>(
501 llvm::formatv(
"{0} not implemented for '{1}' platform.",
502 LLVM_PRETTY_FUNCTION,
GetName()));
554 std::vector<std::string> &options);
573 uint32_t &file_permissions);
576 uint32_t file_permissions);
637 unsigned prot,
unsigned flags,
674 llvm::StringRef command,
683 *separated_error_output,
688 llvm::StringRef shell, llvm::StringRef command,
697 *separated_error_output,
707 virtual llvm::ErrorOr<llvm::MD5::MD5Result>
892 const std::vector<std::string> &paths,
898 const std::vector<std::string> *paths,
903 uint32_t image_token);
937 virtual llvm::Expected<StructuredData::DictionarySP>
992 static std::vector<ArchSpec>
994 llvm::Triple::OSType os);
999 llvm::StringRef plugin_name,
1054 const uint64_t src_offset,
1055 const uint64_t src_size,
1069 bool *did_create_ptr);
1084 std::lock_guard<std::recursive_mutex> guard(
m_mutex);
1091 std::lock_guard<std::recursive_mutex> guard(
m_mutex);
1098 std::lock_guard<std::recursive_mutex> guard(
m_mutex);
1112 std::lock_guard<std::recursive_mutex> guard(
m_mutex);
1121 std::lock_guard<std::recursive_mutex> guard(
m_mutex);
1123 for (
size_t idx = 0; idx < num_platforms; ++idx) {
1124 if (
m_platforms[idx].get() == platform_sp.get()) {
1156 std::vector<lldb::PlatformSP> &candidates);
1204 SetOptionValue(uint32_t option_idx, llvm::StringRef option_value,
1231 SetOptionValue(uint32_t option_idx, llvm::StringRef option_value,
1256 SetOptionValue(uint32_t option_idx, llvm::StringRef option_value,
static llvm::raw_ostream & error(Stream &strm)
An architecture specification class.
A command line argument class.
Class that manages the actual breakpoint that will be inserted into the running program.
A class that describes a compilation unit.
Generic representation of a type in a programming language.
"lldb/Utility/ArgCompletionRequest.h"
A uniqued constant string class.
A class to manage flag bits.
"lldb/Target/ExecutionContext.h" A class that contains an execution context.
A class that describes an executable image and its associated object and symbol files.
virtual llvm::StringRef GetPluginName()=0
PluginInterface()=default
A plug-in interface definition class for debugging a process.
A stream class that can stream formatted output to a file.
Represents UUID's of various sizes.
An abstract interface for things that know how to map numeric user/group IDs into names.
#define LLDB_INVALID_QUEUE_ID
A class that represents a running process on the host machine.
llvm::SmallVector< lldb::addr_t, 6 > MmapArgList
std::vector< ProcessInstanceInfo > ProcessInstanceInfoList
std::shared_ptr< lldb_private::UnixSignals > UnixSignalsSP
std::shared_ptr< lldb_private::Platform > PlatformSP
std::shared_ptr< lldb_private::Breakpoint > BreakpointSP
std::shared_ptr< lldb_private::Process > ProcessSP
std::shared_ptr< lldb_private::UnwindPlan > UnwindPlanSP
std::shared_ptr< lldb_private::StopInfo > StopInfoSP
std::shared_ptr< lldb_private::Module > ModuleSP