27 LLDB_LOG(log,
"force = {0}, arch=({1}, {2})", force,
28 arch ? arch->GetArchitectureName() :
"<null>",
29 arch ? arch->GetTriple().getTriple() :
"<null>");
32 force || (arch && arch->IsValid() && arch->GetTriple().isOSEmscripten());
33 LLDB_LOG(log,
"create = {0}", create);
39 return "Local Emscripten user platform plug-in.";
40 return "Remote Emscripten user platform plug-in.";
47#if defined(__EMSCRIPTEN__)
49 platform_sp->SetSystemArchitecture(HostInfo::GetArchitecture());
70 {llvm::Triple::wasm32, llvm::Triple::wasm64}, llvm::Triple::Emscripten);
#define LLDB_LOG(log,...)
The LLDB_LOG* macros defined below are the way to emit log messages.
#define LLDB_PLUGIN_DEFINE(PluginName)
An architecture specification class.
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