[Lldb-commits] [lldb] r164136 - in /lldb/branches/windows: source/Plugins/DynamicLoader/CMakeLists.txt source/Plugins/DynamicLoader/MacOSX-DYLD/CMakeLists.txt source/Plugins/DynamicLoader/POSIX-DYLD/CMakeLists.txt source/lldb.cpp tools/driver/CMakeLists.txt

Carlo Kok ck at remobjects.com
Tue Sep 18 09:24:04 PDT 2012


Author: carlokok
Date: Tue Sep 18 11:24:04 2012
New Revision: 164136

URL: http://llvm.org/viewvc/llvm-project?rev=164136&view=rev
Log:
Missing cmake files for MacOSX-DyLD and Posix-DYLD

Added:
    lldb/branches/windows/source/Plugins/DynamicLoader/MacOSX-DYLD/CMakeLists.txt
    lldb/branches/windows/source/Plugins/DynamicLoader/POSIX-DYLD/CMakeLists.txt
Modified:
    lldb/branches/windows/source/Plugins/DynamicLoader/CMakeLists.txt
    lldb/branches/windows/source/lldb.cpp
    lldb/branches/windows/tools/driver/CMakeLists.txt

Modified: lldb/branches/windows/source/Plugins/DynamicLoader/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/branches/windows/source/Plugins/DynamicLoader/CMakeLists.txt?rev=164136&r1=164135&r2=164136&view=diff
==============================================================================
--- lldb/branches/windows/source/Plugins/DynamicLoader/CMakeLists.txt (original)
+++ lldb/branches/windows/source/Plugins/DynamicLoader/CMakeLists.txt Tue Sep 18 11:24:04 2012
@@ -1,4 +1,4 @@
 #add_subdirectory(Darwin-Kernel)
-#add_subdirectory(MacOSX-DYLD)
-#add_subdirectory(POSIX-DYLD)
+add_subdirectory(MacOSX-DYLD)
+add_subdirectory(POSIX-DYLD)
 add_subdirectory(Static)

Added: lldb/branches/windows/source/Plugins/DynamicLoader/MacOSX-DYLD/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/branches/windows/source/Plugins/DynamicLoader/MacOSX-DYLD/CMakeLists.txt?rev=164136&view=auto
==============================================================================
--- lldb/branches/windows/source/Plugins/DynamicLoader/MacOSX-DYLD/CMakeLists.txt (added)
+++ lldb/branches/windows/source/Plugins/DynamicLoader/MacOSX-DYLD/CMakeLists.txt Tue Sep 18 11:24:04 2012
@@ -0,0 +1,5 @@
+set(LLVM_NO_RTTI 1)
+
+add_lldb_library(lldbPluginDynamicLoaderMacOSXDYLD
+  DynamicLoaderMacOSXDYLD.cpp
+  )

Added: lldb/branches/windows/source/Plugins/DynamicLoader/POSIX-DYLD/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/branches/windows/source/Plugins/DynamicLoader/POSIX-DYLD/CMakeLists.txt?rev=164136&view=auto
==============================================================================
--- lldb/branches/windows/source/Plugins/DynamicLoader/POSIX-DYLD/CMakeLists.txt (added)
+++ lldb/branches/windows/source/Plugins/DynamicLoader/POSIX-DYLD/CMakeLists.txt Tue Sep 18 11:24:04 2012
@@ -0,0 +1,7 @@
+set(LLVM_NO_RTTI 1)
+
+add_lldb_library(lldbPluginDynamicLoaderPosixDYLD
+  AuxVector.cpp
+  DYLDRendezvous.cpp
+  DynamicLoaderPOSIXDYLD.cpp
+  )

Modified: lldb/branches/windows/source/lldb.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/branches/windows/source/lldb.cpp?rev=164136&r1=164135&r2=164136&view=diff
==============================================================================
--- lldb/branches/windows/source/lldb.cpp (original)
+++ lldb/branches/windows/source/lldb.cpp Tue Sep 18 11:24:04 2012
@@ -42,11 +42,11 @@
 
 #include "Plugins/ObjectContainer/Universal-Mach-O/ObjectContainerUniversalMachO.h"
 #include "Plugins/ObjectFile/Mach-O/ObjectFileMachO.h"
+#include "Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.h"
 
 #if defined (__APPLE__)
 #include "Plugins/ABI/MacOSX-i386/ABIMacOSX_i386.h"
 #include "Plugins/ABI/MacOSX-arm/ABIMacOSX_arm.h"
-#include "Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.h"
 #include "Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.h"
 #include "Plugins/OperatingSystem/Darwin-Kernel/OperatingSystemDarwinKernel.h"
 #include "Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.h"
@@ -117,8 +117,9 @@
         UnwindAssembly_x86::Initialize();
         EmulateInstructionARM::Initialize ();
         ObjectFilePECOFF::Initialize ();
-        DynamicLoaderPOSIXDYLD::Initialize ();
 #endif
+        DynamicLoaderPOSIXDYLD::Initialize ();
+        DynamicLoaderMacOSXDYLD::Initialize();
 #ifndef LLDB_DISABLE_PYTHON
         OperatingSystemPython::Initialize();
 #endif
@@ -129,7 +130,6 @@
         //----------------------------------------------------------------------
         // Apple/Darwin hosted plugins
         //----------------------------------------------------------------------
-        DynamicLoaderMacOSXDYLD::Initialize();
         DynamicLoaderDarwinKernel::Initialize();
         OperatingSystemDarwinKernel::Initialize();
         SymbolFileDWARFDebugMap::Initialize();

Modified: lldb/branches/windows/tools/driver/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/branches/windows/tools/driver/CMakeLists.txt?rev=164136&r1=164135&r2=164136&view=diff
==============================================================================
--- lldb/branches/windows/tools/driver/CMakeLists.txt (original)
+++ lldb/branches/windows/tools/driver/CMakeLists.txt Tue Sep 18 11:24:04 2012
@@ -30,6 +30,8 @@
   lldbPluginObjectContainerMachOArchive
   lldbPluginObjectContainerBSDArchive
   lldbPluginPlatformMacOSX
+  lldbPluginDynamicLoaderMacOSXDYLD
+  lldbPluginDynamicLoaderPosixDYLD
   
   # Windows
   lldbHostWindows





More information about the lldb-commits mailing list