[Lldb-commits] [lldb] r154086 - /lldb/trunk/source/lldb.cpp

Bill Wendling isanbard at gmail.com
Wed Apr 4 23:21:02 PDT 2012


Author: void
Date: Thu Apr  5 01:21:02 2012
New Revision: 154086

URL: http://llvm.org/viewvc/llvm-project?rev=154086&view=rev
Log:
The DynamicLoaderPOSIXDYLD calls aren't available on Apple systems.

Modified:
    lldb/trunk/source/lldb.cpp

Modified: lldb/trunk/source/lldb.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/lldb.cpp?rev=154086&r1=154085&r2=154086&view=diff
==============================================================================
--- lldb/trunk/source/lldb.cpp (original)
+++ lldb/trunk/source/lldb.cpp Thu Apr  5 01:21:02 2012
@@ -101,7 +101,6 @@
         UnwindAssembly_x86::Initialize();
         EmulateInstructionARM::Initialize ();
         ObjectFilePECOFF::Initialize ();
-        DynamicLoaderPOSIXDYLD::Initialize ();
         PlatformFreeBSD::Initialize();
         PlatformLinux::Initialize();
 #if defined (__APPLE__)
@@ -124,6 +123,8 @@
         PlatformRemoteiOS::Initialize();
         PlatformMacOSX::Initialize();
         PlatformiOSSimulator::Initialize();
+#else
+        DynamicLoaderPOSIXDYLD::Initialize ();
 #endif
 #if defined (__linux__)
         //----------------------------------------------------------------------
@@ -177,7 +178,6 @@
     UnwindAssemblyInstEmulation::Terminate();
     EmulateInstructionARM::Terminate ();
     ObjectFilePECOFF::Terminate ();
-    DynamicLoaderPOSIXDYLD::Terminate ();
     PlatformFreeBSD::Terminate();
     PlatformLinux::Terminate();
 #if defined (__APPLE__)
@@ -197,6 +197,8 @@
     PlatformMacOSX::Terminate();
     PlatformRemoteiOS::Terminate();
     PlatformiOSSimulator::Terminate();
+#else
+    DynamicLoaderPOSIXDYLD::Terminate ();
 #endif
 
     Debugger::SettingsTerminate ();





More information about the lldb-commits mailing list