64 const char *arch_name;
70 const char *triple_cstr =
71 arch ? arch->
GetTriple().getTriple().c_str() :
"<null>";
73 LLDB_LOGF(log,
"PlatformRemoteAppleTV::%s(force=%s, arch={%s,%s})",
74 __FUNCTION__, force ?
"true" :
"false", arch_name, triple_cstr);
78 if (!create && arch && arch->
IsValid()) {
80 case llvm::Triple::arm:
81 case llvm::Triple::aarch64:
82 case llvm::Triple::thumb: {
83 const llvm::Triple &triple = arch->
GetTriple();
84 llvm::Triple::VendorType vendor = triple.getVendor();
86 case llvm::Triple::Apple:
94 case llvm::Triple::UnknownVendor:
103 switch (triple.getOS()) {
104 case llvm::Triple::TvOS:
120 LLDB_LOGF(log,
"PlatformRemoteAppleTV::%s() creating platform",
126 LLDB_LOGF(log,
"PlatformRemoteAppleTV::%s() aborting creation of platform",
133 return "Remote Apple TV platform plug-in.";
137 const ArchSpec &process_host_arch) {
141 switch (system_core) {
158 return "tvOS DeviceSupport";
162 return "AppleTVOS.platform";
#define LLDB_LOGF(log,...)
An architecture specification class.
bool IsValid() const
Tests if this ArchSpec is valid.
llvm::Triple & GetTriple()
Architecture triple accessor.
llvm::Triple::ArchType GetMachine() const
Returns a machine family for the current architecture.
bool TripleVendorWasSpecified() const
const char * GetArchitectureName() const
Returns a static string representing the current architecture.
static bool RegisterPlugin(llvm::StringRef name, llvm::StringRef description, ABICreateInstance create_callback)
static bool UnregisterPlugin(ABICreateInstance create_callback)
A class that represents a running process on the host machine.
Log * GetLog(Cat mask)
Retrieve the Log object for the channel associated with the given log enum.
std::shared_ptr< lldb_private::Platform > PlatformSP