summaryrefslogtreecommitdiffstats
path: root/lldb/source/lldb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/lldb.cpp')
-rw-r--r--lldb/source/lldb.cpp17
1 files changed, 12 insertions, 5 deletions
diff --git a/lldb/source/lldb.cpp b/lldb/source/lldb.cpp
index cbea0a144bd..18c9c198d0f 100644
--- a/lldb/source/lldb.cpp
+++ b/lldb/source/lldb.cpp
@@ -52,13 +52,16 @@
#endif
#if defined (__linux__)
-#include "Plugins/DynamicLoader/Linux-DYLD/DynamicLoaderLinuxDYLD.h"
+#include "Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.h"
#include "Plugins/Platform/Linux/PlatformLinux.h"
#include "Plugins/Process/Linux/ProcessLinux.h"
#endif
#if defined (__FreeBSD__)
+#include "Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.h"
#include "Plugins/Platform/FreeBSD/PlatformFreeBSD.h"
+#include "Plugins/Process/POSIX/ProcessPOSIX.h"
+#include "Plugins/Process/FreeBSD/ProcessFreeBSD.h"
#endif
#include "Plugins/Platform/gdb-server/PlatformRemoteGDBServer.h"
@@ -120,10 +123,12 @@ lldb_private::Initialize ()
//----------------------------------------------------------------------
PlatformLinux::Initialize();
ProcessLinux::Initialize();
- DynamicLoaderLinuxDYLD::Initialize();
+ DynamicLoaderPOSIXDYLD::Initialize();
#endif
#if defined (__FreeBSD__)
- PlatformFreeBSD::Initialize();
+ PlatformFreeBSD::Initialize();
+ ProcessFreeBSD::Initialize();
+ DynamicLoaderPOSIXDYLD::Initialize();
#endif
//----------------------------------------------------------------------
// Platform agnostic plugins
@@ -190,11 +195,13 @@ lldb_private::Terminate ()
#if defined (__linux__)
PlatformLinux::Terminate();
ProcessLinux::Terminate();
- DynamicLoaderLinuxDYLD::Terminate();
+ DynamicLoaderPOSIXDYLD::Terminate();
#endif
#if defined (__FreeBSD__)
- PlatformFreeBSD::Terminate();
+ PlatformFreeBSD::Terminate();
+ ProcessFreeBSD::Terminate();
+ DynamicLoaderPOSIXDYLD::Terminate();
#endif
DynamicLoaderStatic::Terminate();
OpenPOWER on IntegriCloud