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"
116 llvm::StringRef triple);
280 llvm::SmallDenseMap<FileSpec, LoadScriptFromSymFile>
286 virtual llvm::SmallDenseMap<FileSpec, LoadScriptFromSymFile>
296 static llvm::SmallDenseMap<FileSpec, LoadScriptFromSymFile>
346 virtual std::optional<ModuleSpec>
355 bool *did_create_ptr);
370 virtual std::vector<ArchSpec>
389 size_t size_hint = 0);
400 llvm::ArrayRef<uint8_t> bytes);
442 llvm::StringRef plugin_name,
448 llvm::StringRef plugin_name,
Debugger &debugger,
522 virtual llvm::Expected<std::pair<XcodeSDKAndSysroot, bool>>
534 virtual llvm::Expected<std::string>
542 virtual llvm::Expected<XcodeSDKAndSysroot>
553 virtual llvm::Expected<std::string>
605 std::vector<std::string> &options);
624 uint32_t &file_permissions);
627 uint32_t file_permissions);
688 unsigned prot,
unsigned flags,
725 llvm::StringRef command,
734 *separated_error_output,
739 llvm::StringRef shell, llvm::StringRef command,
748 *separated_error_output,
758 virtual llvm::ErrorOr<llvm::MD5::MD5Result>
851 llvm::StringRef name) {
943 const std::vector<std::string> &paths,
949 const std::vector<std::string> *paths,
954 uint32_t image_token);
988 virtual llvm::Expected<StructuredData::DictionarySP>
1042 virtual llvm::Expected<FileSpecList>
1050 static std::vector<ArchSpec>
1052 llvm::Triple::OSType os);
1057 llvm::StringRef plugin_name,
1111 const uint64_t src_offset,
1112 const uint64_t src_size,
1144 bool *did_create_ptr);
1159 std::lock_guard<std::recursive_mutex> guard(
m_mutex);
1166 std::lock_guard<std::recursive_mutex> guard(
m_mutex);
1173 std::lock_guard<std::recursive_mutex> guard(
m_mutex);
1187 std::lock_guard<std::recursive_mutex> guard(
m_mutex);
1196 std::lock_guard<std::recursive_mutex> guard(
m_mutex);
1198 for (
size_t idx = 0; idx < num_platforms; ++idx) {
1199 if (
m_platforms[idx].get() == platform_sp.get()) {
1231 std::vector<lldb::PlatformSP> &candidates);
1279 SetOptionValue(uint32_t option_idx, llvm::StringRef option_value,
1306 SetOptionValue(uint32_t option_idx, llvm::StringRef option_value,
1331 SetOptionValue(uint32_t option_idx, llvm::StringRef option_value,
static llvm::raw_ostream & error(Stream &strm)
A section + offset based address class.
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 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 class to count time for plugins.
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