LLDB  mainline
Classes | Macros | Functions | Variables
PlatformAppleSimulator.cpp File Reference
#include "PlatformAppleSimulator.h"
#include "lldb/Core/Module.h"
#include "lldb/Core/PluginManager.h"
#include "lldb/Host/HostInfo.h"
#include "lldb/Host/PseudoTerminal.h"
#include "lldb/Target/Process.h"
#include "lldb/Utility/LLDBAssert.h"
#include "lldb/Utility/Log.h"
#include "lldb/Utility/Status.h"
#include "lldb/Utility/StreamString.h"
#include "llvm/Support/Threading.h"
#include <mutex>
#include <thread>
Include dependency graph for PlatformAppleSimulator.cpp:

Go to the source code of this file.

Classes

struct  PlatformiOSSimulator
 IPhone Simulator Plugin. More...
 
struct  PlatformAppleTVSimulator
 Apple TV Simulator Plugin. More...
 
struct  PlatformAppleWatchSimulator
 Apple Watch Simulator Plugin. More...
 

Macros

#define UNSUPPORTED_ERROR   ("Apple simulators aren't supported on this platform")
 

Functions

static bool shouldSkipSimulatorPlatform (bool force, const ArchSpec *arch)
 Whether to skip creating a simulator platform. More...
 
static llvm::StringRef GetXcodeSDKDir (std::string preferred, std::string secondary)
 

Variables

static const char * g_ios_plugin_name = "ios-simulator"
 
static const char * g_ios_description = "iPhone simulator platform plug-in."
 
static const char * g_tvos_plugin_name = "tvos-simulator"
 
static const char * g_tvos_description = "tvOS simulator platform plug-in."
 
static const char * g_watchos_plugin_name = "watchos-simulator"
 
static const char * g_watchos_description
 
static unsigned g_initialize_count = 0
 

Macro Definition Documentation

◆ UNSUPPORTED_ERROR

#define UNSUPPORTED_ERROR   ("Apple simulators aren't supported on this platform")

Definition at line 34 of file PlatformAppleSimulator.cpp.

Function Documentation

◆ GetXcodeSDKDir()

static llvm::StringRef GetXcodeSDKDir ( std::string  preferred,
std::string  secondary 
)
static

◆ shouldSkipSimulatorPlatform()

static bool shouldSkipSimulatorPlatform ( bool  force,
const ArchSpec arch 
)
static

Variable Documentation

◆ g_initialize_count

unsigned g_initialize_count = 0
static

◆ g_ios_description

const char* g_ios_description = "iPhone simulator platform plug-in."
static

◆ g_ios_plugin_name

const char* g_ios_plugin_name = "ios-simulator"
static

◆ g_tvos_description

const char* g_tvos_description = "tvOS simulator platform plug-in."
static

◆ g_tvos_plugin_name

const char* g_tvos_plugin_name = "tvos-simulator"
static

◆ g_watchos_description

const char* g_watchos_description
static
Initial value:
=
"Apple Watch simulator platform plug-in."

Definition at line 618 of file PlatformAppleSimulator.cpp.

Referenced by PlatformAppleWatchSimulator::CreateInstance(), and PlatformAppleWatchSimulator::Initialize().

◆ g_watchos_plugin_name

const char* g_watchos_plugin_name = "watchos-simulator"
static