summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.cpp')
-rw-r--r--lldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.cpp b/lldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.cpp
index 55a30bcc50c..aef8034f42e 100644
--- a/lldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.cpp
+++ b/lldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.cpp
@@ -40,6 +40,8 @@ static uint32_t g_initialize_count = 0;
void
PlatformMacOSX::Initialize ()
{
+ PlatformDarwin::Initialize ();
+
if (g_initialize_count++ == 0)
{
#if defined (__APPLE__)
@@ -64,6 +66,8 @@ PlatformMacOSX::Terminate ()
PluginManager::UnregisterPlugin (PlatformMacOSX::CreateInstance);
}
}
+
+ PlatformDarwin::Terminate ();
}
PlatformSP
OpenPOWER on IntegriCloud