14#include "lldb/Host/Config.h"
21#include "llvm/Support/CommandLine.h"
22#include "llvm/Support/TargetSelect.h"
24#pragma clang diagnostic push
25#pragma clang diagnostic ignored "-Wglobal-constructors"
26#include "llvm/ExecutionEngine/MCJIT.h"
27#pragma clang diagnostic pop
31#define LLDB_PLUGIN(p) LLDB_PLUGIN_DECLARE(p)
32#include "Plugins/Plugins.def"
37constexpr lldb_private::HostInfo::SharedLibraryDirectoryHelper
39 lldb_private::ScriptInterpreterPython::SharedLibraryDirectoryHelper;
42constexpr lldb_private::HostInfo::SharedLibraryDirectoryHelper
58 llvm::InitializeAllTargets();
59 llvm::InitializeAllAsmPrinters();
60 llvm::InitializeAllTargetMCs();
61 llvm::InitializeAllDisassemblers();
68 const char *arg0 =
"lldb";
69 llvm::cl::ParseCommandLineOptions(1, &arg0);
74#define LLDB_PLUGIN(p) LLDB_PLUGIN_INITIALIZE(p);
75#include "Plugins/Plugins.def"
92 return llvm::Error::success();
104#define LLDB_PLUGIN(p) LLDB_PLUGIN_TERMINATE(p);
105#include "Plugins/Plugins.def"
static llvm::raw_ostream & error(Stream &strm)
#define LLDB_LOG(log,...)
The LLDB_LOG* macros defined below are the way to emit log messages.
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.
Log * GetLog(Cat mask)
Retrieve the Log object for the channel associated with the given log enum.
void SetLLDBAssertCallback(LLDBAssertCallback callback)
const char * GetVersion()
Retrieves a string representing the complete LLDB version, which includes the lldb version number,...
void SetLLDBErrorLog(Log *log)
Getter and setter for the error log (see g_error_log).