9#ifndef LLDB_TARGET_PLATFORM_H
10#define LLDB_TARGET_PLATFORM_H
35#include "llvm/Support/Compiler.h"
36#include "llvm/Support/Error.h"
37#include "llvm/Support/VersionTuple.h"
112 llvm::StringRef triple);
315 bool *did_create_ptr);
330 virtual std::vector<ArchSpec>
373 llvm::StringRef plugin_name,
379 llvm::StringRef plugin_name,
Debugger &debugger,
454 virtual llvm::Expected<std::pair<XcodeSDK, bool>>
456 return llvm::createStringError(
457 llvm::formatv(
"{0} not implemented for '{1}' platform.",
458 LLVM_PRETTY_FUNCTION,
GetName()));
470 virtual llvm::Expected<std::string>
472 return llvm::createStringError(
473 llvm::formatv(
"{0} not implemented for '{1}' platform.",
474 LLVM_PRETTY_FUNCTION,
GetName()));
483 return llvm::createStringError(
484 llvm::formatv(
"{0} not implemented for '{1}' platform.",
485 LLVM_PRETTY_FUNCTION,
GetName()));
496 virtual llvm::Expected<std::string>
498 return llvm::createStringError(
499 llvm::formatv(
"{0} not implemented for '{1}' platform.",
500 LLVM_PRETTY_FUNCTION,
GetName()));
552 std::vector<std::string> &options);
571 uint32_t &file_permissions);
574 uint32_t file_permissions);
635 unsigned prot,
unsigned flags,
672 llvm::StringRef command,
683 llvm::StringRef shell, llvm::StringRef command,
699 virtual llvm::ErrorOr<llvm::MD5::MD5Result>
884 const std::vector<std::string> &paths,
890 const std::vector<std::string> *paths,
895 uint32_t image_token);
929 virtual llvm::Expected<StructuredData::DictionarySP>
984 static std::vector<ArchSpec>
986 llvm::Triple::OSType os);
991 llvm::StringRef plugin_name,
1046 const uint64_t src_offset,
1047 const uint64_t src_size,
1061 bool *did_create_ptr);
1076 std::lock_guard<std::recursive_mutex> guard(
m_mutex);
1083 std::lock_guard<std::recursive_mutex> guard(
m_mutex);
1090 std::lock_guard<std::recursive_mutex> guard(
m_mutex);
1104 std::lock_guard<std::recursive_mutex> guard(
m_mutex);
1113 std::lock_guard<std::recursive_mutex> guard(
m_mutex);
1115 for (
size_t idx = 0; idx < num_platforms; ++idx) {
1116 if (
m_platforms[idx].get() == platform_sp.get()) {
1148 std::vector<lldb::PlatformSP> &candidates);
1196 SetOptionValue(uint32_t option_idx, llvm::StringRef option_value,
1223 SetOptionValue(uint32_t option_idx, llvm::StringRef option_value,
1248 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