Revert r154086. It may be needed for Darwin. But the symbols are still missing in the dylib.
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@154108 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/lldb.cpp b/source/lldb.cpp
index 4b6975d..a4d0f57 100644
--- a/source/lldb.cpp
+++ b/source/lldb.cpp
@@ -101,6 +101,7 @@
UnwindAssembly_x86::Initialize();
EmulateInstructionARM::Initialize ();
ObjectFilePECOFF::Initialize ();
+ DynamicLoaderPOSIXDYLD::Initialize ();
PlatformFreeBSD::Initialize();
PlatformLinux::Initialize();
#if defined (__APPLE__)
@@ -123,8 +124,6 @@
PlatformRemoteiOS::Initialize();
PlatformMacOSX::Initialize();
PlatformiOSSimulator::Initialize();
-#else
- DynamicLoaderPOSIXDYLD::Initialize ();
#endif
#if defined (__linux__)
//----------------------------------------------------------------------
@@ -178,6 +177,7 @@
UnwindAssemblyInstEmulation::Terminate();
EmulateInstructionARM::Terminate ();
ObjectFilePECOFF::Terminate ();
+ DynamicLoaderPOSIXDYLD::Terminate ();
PlatformFreeBSD::Terminate();
PlatformLinux::Terminate();
#if defined (__APPLE__)
@@ -197,8 +197,6 @@
PlatformMacOSX::Terminate();
PlatformRemoteiOS::Terminate();
PlatformiOSSimulator::Terminate();
-#else
- DynamicLoaderPOSIXDYLD::Terminate ();
#endif
Debugger::SettingsTerminate ();