mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-28 17:31:16 +00:00
[lldb/Plugins] Use external functions to (de)initialize plugins
This is a step towards making the initialize and terminate calls be generated by CMake, which in turn is towards making it possible to disable plugins at configuration time. Differential revision: https://reviews.llvm.org/D74245
This commit is contained in:
1 parent
bb717d3f46
commit
fbb4d1e43d
85 files changed
+482
-492
No files matched your search
@@ -39,6 +39,8 @@
|
||||
using namespace lldb;
|
||||
using namespace lldb_private;
|
||||
|
||||
LLDB_PLUGIN(OperatingSystemPython);
|
||||
|
||||
void OperatingSystemPython::Initialize() {
|
||||
PluginManager::RegisterPlugin(GetPluginNameStatic(),
|
||||
GetPluginDescriptionStatic(), CreateInstance,
|
||||
|
||||
Reference in new issue
Block a user