[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:
Jonas Devlieghere
2020-02-07 14:58:18 -08:00
parent bb717d3f46
commit fbb4d1e43d
85 changed files with 482 additions and 492 deletions

View File

@@ -46,6 +46,8 @@ using namespace lldb;
using namespace lldb_private;
using namespace lldb_renderscript;
LLDB_PLUGIN(RenderScriptRuntime);
#define FMT_COORD "(%" PRIu32 ", %" PRIu32 ", %" PRIu32 ")"
char RenderScriptRuntime::ID = 0;