aboutsummaryrefslogtreecommitdiff
path: root/lldb/tools/lldb-test/SystemInitializerTest.cpp
diff options
context:
space:
mode:
authorDmitry Vasilyev <dvassiliev@accesssoftek.com>2025-04-08 22:24:59 +0400
committerGitHub <noreply@github.com>2025-04-08 22:24:59 +0400
commit7e70d708a39470397a8df9aa5842d0875b471def (patch)
tree94d1fd9e461b402bda9191e5fc13f5214b8c0684 /lldb/tools/lldb-test/SystemInitializerTest.cpp
parent3b84b1e1635cc6af9ff745d0542ebee151394c42 (diff)
downloadllvm-7e70d708a39470397a8df9aa5842d0875b471def.zip
llvm-7e70d708a39470397a8df9aa5842d0875b471def.tar.gz
llvm-7e70d708a39470397a8df9aa5842d0875b471def.tar.bz2
[LLDB][NFC] Remove Debugger dependency in SystemLifetimeManager (#134383)
It reduces the memory usage in lldb-server.
Diffstat (limited to 'lldb/tools/lldb-test/SystemInitializerTest.cpp')
-rw-r--r--lldb/tools/lldb-test/SystemInitializerTest.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/lldb/tools/lldb-test/SystemInitializerTest.cpp b/lldb/tools/lldb-test/SystemInitializerTest.cpp
index 2b6e0f2..3478e5d 100644
--- a/lldb/tools/lldb-test/SystemInitializerTest.cpp
+++ b/lldb/tools/lldb-test/SystemInitializerTest.cpp
@@ -51,10 +51,14 @@ llvm::Error SystemInitializerTest::Initialize() {
// Settings must be initialized AFTER PluginManager::Initialize is called.
Debugger::SettingsInitialize();
+ Debugger::Initialize(nullptr);
+
return llvm::Error::success();
}
void SystemInitializerTest::Terminate() {
+ Debugger::Terminate();
+
Debugger::SettingsTerminate();
// Terminate and unload and loaded system or user LLDB plug-ins