14#include "lldb/Host/Config.h"
20#include "llvm/Support/CommandLine.h"
21#include "llvm/Support/TargetSelect.h"
23#pragma clang diagnostic push
24#pragma clang diagnostic ignored "-Wglobal-constructors"
25#include "llvm/ExecutionEngine/MCJIT.h"
26#pragma clang diagnostic pop
30#define LLDB_PLUGIN(p) LLDB_PLUGIN_DECLARE(p)
31#include "Plugins/Plugins.def"
36constexpr lldb_private::HostInfo::SharedLibraryDirectoryHelper
38 lldb_private::ScriptInterpreterPython::SharedLibraryDirectoryHelper;
41constexpr lldb_private::HostInfo::SharedLibraryDirectoryHelper
57 llvm::InitializeAllTargets();
58 llvm::InitializeAllAsmPrinters();
59 llvm::InitializeAllTargetMCs();
60 llvm::InitializeAllDisassemblers();
67 const char *arg0 =
"lldb";
68 llvm::cl::ParseCommandLineOptions(1, &arg0);
73#define LLDB_PLUGIN(p) LLDB_PLUGIN_INITIALIZE(p);
74#include "Plugins/Plugins.def"
86 return llvm::Error::success();
98#define LLDB_PLUGIN(p) LLDB_PLUGIN_TERMINATE(p);
99#include "Plugins/Plugins.def"
static llvm::raw_ostream & error(Stream &strm)
constexpr lldb_private::HostInfo::SharedLibraryDirectoryHelper * g_shlib_dir_helper
static void AssertCallback(llvm::StringRef message, llvm::StringRef backtrace, llvm::StringRef prompt)
static void SettingsInitialize()
static void SettingsTerminate()
Initializes common lldb functionality.
llvm::Error Initialize() override
void Terminate() override
~SystemInitializerFull() override
llvm::Error Initialize() override
void Terminate() override
A class that represents a running process on the host machine.
void SetLLDBAssertCallback(LLDBAssertCallback callback)