22 "SystemLifetimeManager destroyed without calling Terminate!");
26 std::unique_ptr<SystemInitializer> initializer,
28 std::lock_guard<std::recursive_mutex> guard(
m_mutex);
31 "SystemLifetimeManager::Initialize() when it is "
32 "already initialized");
42 return llvm::Error::success();
46 std::lock_guard<std::recursive_mutex> guard(
m_mutex);
static void Initialize(LoadPluginCallbackType load_plugin_callback)
std::recursive_mutex m_mutex
llvm::Error Initialize(std::unique_ptr< SystemInitializer > initializer, LoadPluginCallbackType plugin_callback)
std::unique_ptr< SystemInitializer > m_initializer
A class that represents a running process on the host machine.
llvm::sys::DynamicLibrary(* LoadPluginCallbackType)(const lldb::DebuggerSP &debugger_sp, const FileSpec &spec, Status &error)