9#ifndef LLDB_HOST_SCRIPTINTERPRETERRUNTIMELOADER_H
10#define LLDB_HOST_SCRIPTINTERPRETERRUNTIMELOADER_H
13#include "llvm/ADT/StringRef.h"
14#include "llvm/Support/Error.h"
31 virtual llvm::Error
Load() = 0;
44 static llvm::Expected<ScriptInterpreterRuntimeLoader &>
Loads a script-interpreter runtime into the current process before its plugin is dlopened.
static llvm::Expected< ScriptInterpreterRuntimeLoader & > Get(lldb::ScriptLanguage language)
Returns the loader for language.
virtual ~ScriptInterpreterRuntimeLoader()
virtual llvm::Error Load()=0
Resolves the runtime so the script interpreter plugin's undefined symbols can bind.
virtual bool IsLoaded()=0
True if the runtime is currently mapped into the process.
virtual llvm::Expected< llvm::StringRef > GetLoadedPath()=0
Absolute path of the loaded runtime, for diagnostics.
A class that represents a running process on the host machine.
ScriptLanguage
Script interpreter types.