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()));
482 return llvm::createStringError(
483 llvm::formatv(
"{0} not implemented for '{1}' platform.",
484 LLVM_PRETTY_FUNCTION,
GetName()));
495 virtual llvm::Expected<std::string>
497 return llvm::createStringError(
498 llvm::formatv(
"{0} not implemented for '{1}' platform.",
499 LLVM_PRETTY_FUNCTION,
GetName()));
551 std::vector<std::string> &options);
570 uint32_t &file_permissions);
573 uint32_t file_permissions);
634 unsigned prot,
unsigned flags,
671 llvm::StringRef command,
682 llvm::StringRef shell, llvm::StringRef command,
698 virtual llvm::ErrorOr<llvm::MD5::MD5Result>
883 const std::vector<std::string> &paths,
889 const std::vector<std::string> *paths,
894 uint32_t image_token);
928 virtual llvm::Expected<StructuredData::DictionarySP>
981 static std::vector<ArchSpec>
983 llvm::Triple::OSType os);
988 llvm::StringRef plugin_name,
1043 const uint64_t src_offset,
1044 const uint64_t src_size,
1058 bool *did_create_ptr);
1073 std::lock_guard<std::recursive_mutex> guard(
m_mutex);
1080 std::lock_guard<std::recursive_mutex> guard(
m_mutex);
1087 std::lock_guard<std::recursive_mutex> guard(
m_mutex);
1101 std::lock_guard<std::recursive_mutex> guard(
m_mutex);
1110 std::lock_guard<std::recursive_mutex> guard(
m_mutex);
1112 for (
size_t idx = 0; idx < num_platforms; ++idx) {
1113 if (
m_platforms[idx].get() == platform_sp.get()) {
1145 std::vector<lldb::PlatformSP> &candidates);
1193 SetOptionValue(uint32_t option_idx, llvm::StringRef option_value,
1220 SetOptionValue(uint32_t option_idx, llvm::StringRef option_value,
1245 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.
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
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