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>
329 bool *did_create_ptr);
334 bool *did_create_ptr);
349 virtual std::vector<ArchSpec>
392 llvm::StringRef plugin_name,
398 llvm::StringRef plugin_name,
Debugger &debugger,
473 virtual llvm::Expected<std::pair<XcodeSDK, bool>>
475 return llvm::make_error<UnimplementedError>(
476 llvm::formatv(
"{0} not implemented for '{1}' platform.",
477 LLVM_PRETTY_FUNCTION,
GetName()));
489 virtual llvm::Expected<std::string>
491 return llvm::make_error<UnimplementedError>(
492 llvm::formatv(
"{0} not implemented for '{1}' platform.",
493 LLVM_PRETTY_FUNCTION,
GetName()));
501 virtual llvm::Expected<XcodeSDK>
503 return llvm::make_error<UnimplementedError>(
504 llvm::formatv(
"{0} not implemented for '{1}' platform.",
505 LLVM_PRETTY_FUNCTION,
GetName()));
516 virtual llvm::Expected<std::string>
518 return llvm::make_error<UnimplementedError>(
519 llvm::formatv(
"{0} not implemented for '{1}' platform.",
520 LLVM_PRETTY_FUNCTION,
GetName()));
572 std::vector<std::string> &options);
591 uint32_t &file_permissions);
594 uint32_t file_permissions);
655 unsigned prot,
unsigned flags,
692 llvm::StringRef command,
701 *separated_error_output,
706 llvm::StringRef shell, llvm::StringRef command,
715 *separated_error_output,
725 virtual llvm::ErrorOr<llvm::MD5::MD5Result>
910 const std::vector<std::string> &paths,
916 const std::vector<std::string> *paths,
921 uint32_t image_token);
955 virtual llvm::Expected<StructuredData::DictionarySP>
1010 static std::vector<ArchSpec>
1012 llvm::Triple::OSType os);
1017 llvm::StringRef plugin_name,
1072 const uint64_t src_offset,
1073 const uint64_t src_size,
1095 bool *did_create_ptr);
1110 std::lock_guard<std::recursive_mutex> guard(
m_mutex);
1117 std::lock_guard<std::recursive_mutex> guard(
m_mutex);
1124 std::lock_guard<std::recursive_mutex> guard(
m_mutex);
1138 std::lock_guard<std::recursive_mutex> guard(
m_mutex);
1147 std::lock_guard<std::recursive_mutex> guard(
m_mutex);
1149 for (
size_t idx = 0; idx < num_platforms; ++idx) {
1150 if (
m_platforms[idx].get() == platform_sp.get()) {
1182 std::vector<lldb::PlatformSP> &candidates);
1230 SetOptionValue(uint32_t option_idx, llvm::StringRef option_value,
1257 SetOptionValue(uint32_t option_idx, llvm::StringRef option_value,
1282 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