Added a DynamicLoaderStatic plug-in that will act as a static dynamic loader.
It will just load all files exactly where the files state they are (file
addresses == load addresses). This is used when the llvm::Triple::OSType is
set to llvm::Triple::UnknownOS or llvm::Triple::NoOS.




git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@127053 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/lldb.cpp b/source/lldb.cpp
index 63138fc..b78cc4d 100644
--- a/source/lldb.cpp
+++ b/source/lldb.cpp
@@ -48,6 +48,8 @@
 #include "Plugins/DynamicLoader/Linux-DYLD/DynamicLoaderLinuxDYLD.h"
 #endif
 
+#include "Plugins/DynamicLoader/Static/DynamicLoaderStatic.h"
+
 using namespace lldb;
 using namespace lldb_private;
 
@@ -99,6 +101,7 @@
         ProcessLinux::Initialize();
         DynamicLoaderLinuxDYLD::Initialize();
 #endif
+        DynamicLoaderStatic::Initialize();
         // Scan for any system or user LLDB plug-ins
         PluginManager::Initialize();
 
@@ -154,6 +157,8 @@
     ProcessLinux::Terminate();
     DynamicLoaderLinuxDYLD::Terminate();
 #endif
+    
+    DynamicLoaderStatic::Terminate();
 
     Log::Terminate();
 }