9#ifndef LLDB_TARGET_PLATFORM_H
10#define LLDB_TARGET_PLATFORM_H
37#include "llvm/Support/Compiler.h"
38#include "llvm/Support/Error.h"
39#include "llvm/Support/VersionTuple.h"
114 llvm::StringRef triple);
278 llvm::SmallDenseMap<FileSpec, LoadScriptFromSymFile>
284 virtual llvm::SmallDenseMap<FileSpec, LoadScriptFromSymFile>
294 static llvm::SmallDenseMap<FileSpec, LoadScriptFromSymFile>
334 bool *did_create_ptr);
339 bool *did_create_ptr);
354 virtual std::vector<ArchSpec>
397 llvm::StringRef plugin_name,
403 llvm::StringRef plugin_name,
Debugger &debugger,
478 virtual llvm::Expected<std::pair<XcodeSDK, bool>>
480 return llvm::make_error<UnimplementedError>(
481 llvm::formatv(
"{0} not implemented for '{1}' platform.",
482 LLVM_PRETTY_FUNCTION,
GetName()));
494 virtual llvm::Expected<std::string>
496 return llvm::make_error<UnimplementedError>(
497 llvm::formatv(
"{0} not implemented for '{1}' platform.",
498 LLVM_PRETTY_FUNCTION,
GetName()));
506 virtual llvm::Expected<XcodeSDK>
508 return llvm::make_error<UnimplementedError>(
509 llvm::formatv(
"{0} not implemented for '{1}' platform.",
510 LLVM_PRETTY_FUNCTION,
GetName()));
521 virtual llvm::Expected<std::string>
523 return llvm::make_error<UnimplementedError>(
524 llvm::formatv(
"{0} not implemented for '{1}' platform.",
525 LLVM_PRETTY_FUNCTION,
GetName()));
577 std::vector<std::string> &options);
596 uint32_t &file_permissions);
599 uint32_t file_permissions);
660 unsigned prot,
unsigned flags,
697 llvm::StringRef command,
706 *separated_error_output,
711 llvm::StringRef shell, llvm::StringRef command,
720 *separated_error_output,
730 virtual llvm::ErrorOr<llvm::MD5::MD5Result>
915 const std::vector<std::string> &paths,
921 const std::vector<std::string> *paths,
926 uint32_t image_token);
960 virtual llvm::Expected<StructuredData::DictionarySP>
1014 virtual llvm::Expected<FileSpecList>
1022 static std::vector<ArchSpec>
1024 llvm::Triple::OSType os);
1029 llvm::StringRef plugin_name,
1084 const uint64_t src_offset,
1085 const uint64_t src_size,
1114 bool *did_create_ptr);
1129 std::lock_guard<std::recursive_mutex> guard(
m_mutex);
1136 std::lock_guard<std::recursive_mutex> guard(
m_mutex);
1143 std::lock_guard<std::recursive_mutex> guard(
m_mutex);
1157 std::lock_guard<std::recursive_mutex> guard(
m_mutex);
1166 std::lock_guard<std::recursive_mutex> guard(
m_mutex);
1168 for (
size_t idx = 0; idx < num_platforms; ++idx) {
1169 if (
m_platforms[idx].get() == platform_sp.get()) {
1201 std::vector<lldb::PlatformSP> &candidates);
1249 SetOptionValue(uint32_t option_idx, llvm::StringRef option_value,
1276 SetOptionValue(uint32_t option_idx, llvm::StringRef option_value,
1301 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.
Holds an lldb_private::Module name and a "sanitized" version of it for the purposes of loading a scri...
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