16#include "llvm/Support/Threading.h"
34 "error: there is no embedded script interpreter in this mode.\n");
40 "error: there is no embedded script interpreter in this mode.\n");
44 static llvm::once_flag g_once_flag;
46 llvm::call_once(g_once_flag, []() {
55lldb::ScriptInterpreterSP
57 return std::make_shared<ScriptInterpreterNone>(debugger);
61 return "Null script interpreter";
#define LLDB_PLUGIN_DEFINE(PluginName)
A class to manage flag bits.
StreamFile & GetErrorStream()
static bool RegisterPlugin(llvm::StringRef name, llvm::StringRef description, ABICreateInstance create_callback)
bool ExecuteOneLine(llvm::StringRef command, CommandReturnObject *result, const ExecuteScriptOptions &options=ExecuteScriptOptions()) override
static llvm::StringRef GetPluginNameStatic()
static llvm::StringRef GetPluginDescriptionStatic()
void ExecuteInterpreterLoop() override
static lldb::ScriptInterpreterSP CreateInstance(Debugger &debugger)
~ScriptInterpreterNone() override
size_t PutCString(llvm::StringRef cstr)
Output a C string to the stream.
A class that represents a running process on the host machine.