9#ifndef LLDB_TARGET_PLATFORM_H
10#define LLDB_TARGET_PLATFORM_H
34#include "llvm/Support/Compiler.h"
35#include "llvm/Support/Error.h"
36#include "llvm/Support/VersionTuple.h"
40class ProcessInstanceInfo;
41class ProcessInstanceInfoMatch;
111 llvm::StringRef triple);
314 bool *did_create_ptr);
329 virtual std::vector<ArchSpec>
372 llvm::StringRef plugin_name,
378 llvm::StringRef plugin_name,
Debugger &debugger,
453 virtual llvm::Expected<std::pair<XcodeSDK, bool>>
455 return llvm::createStringError(
456 llvm::formatv(
"{0} not implemented for '{1}' platform.",
457 LLVM_PRETTY_FUNCTION,
GetName()));
469 virtual llvm::Expected<std::string>
471 return llvm::createStringError(
472 llvm::formatv(
"{0} not implemented for '{1}' platform.",
473 LLVM_PRETTY_FUNCTION,
GetName()));
527 std::vector<std::string> &options);
546 uint32_t &file_permissions);
549 uint32_t file_permissions);
610 unsigned prot,
unsigned flags,
647 llvm::StringRef command,
658 llvm::StringRef shell, llvm::StringRef command,
674 virtual llvm::ErrorOr<llvm::MD5::MD5Result>
859 const std::vector<std::string> &paths,
865 const std::vector<std::string> *paths,
870 uint32_t image_token);
904 virtual llvm::Expected<StructuredData::DictionarySP>
957 static std::vector<ArchSpec>
959 llvm::Triple::OSType os);
964 llvm::StringRef plugin_name,
1020 const uint64_t src_offset,
1021 const uint64_t src_size,
1035 bool *did_create_ptr);
1050 std::lock_guard<std::recursive_mutex> guard(
m_mutex);
1057 std::lock_guard<std::recursive_mutex> guard(
m_mutex);
1064 std::lock_guard<std::recursive_mutex> guard(
m_mutex);
1078 std::lock_guard<std::recursive_mutex> guard(
m_mutex);
1087 std::lock_guard<std::recursive_mutex> guard(
m_mutex);
1089 for (
size_t idx = 0; idx < num_platforms; ++idx) {
1090 if (
m_platforms[idx].get() == platform_sp.get()) {
1122 std::vector<lldb::PlatformSP> &candidates);
1170 SetOptionValue(uint32_t option_idx, llvm::StringRef option_value,
1197 SetOptionValue(uint32_t option_idx, llvm::StringRef option_value,
1222 SetOptionValue(uint32_t option_idx, llvm::StringRef option_value,
static llvm::raw_ostream & error(Stream &strm)
An architecture specification class.
bool IsValid() const
Tests if this ArchSpec is valid.
A command line argument class.
Class that manages the actual breakpoint that will be inserted into the running program.
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
A plug-in interface definition class for debugging a process.
A stream class that can stream formatted output to a file.
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::Module > ModuleSP