From a0154f98dbd68ede5a02f1ec6bfb363511aee36a Mon Sep 17 00:00:00 2001 From: Deepak Panickal Date: Tue, 15 Oct 2013 12:32:12 +0000 Subject: Patch to add PlatformWindows, based on Carlo Kok's version from the Windows branch. llvm-svn: 192693 --- lldb/source/lldb.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'lldb/source/lldb.cpp') diff --git a/lldb/source/lldb.cpp b/lldb/source/lldb.cpp index 538a26c40e0..c6956377391 100644 --- a/lldb/source/lldb.cpp +++ b/lldb/source/lldb.cpp @@ -43,6 +43,7 @@ #include "Plugins/Platform/FreeBSD/PlatformFreeBSD.h" #include "Plugins/Platform/Linux/PlatformLinux.h" #include "Plugins/Platform/POSIX/PlatformPOSIX.h" +#include "Plugins/Platform/Windows/PlatformWindows.h" #include "Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.h" #ifndef LLDB_DISABLE_PYTHON #include "Plugins/OperatingSystem/Python/OperatingSystemPython.h" @@ -63,7 +64,7 @@ #include "Plugins/Process/mach-core/ProcessMachCore.h" -#if defined(__linux__) or defined(__FreeBSD__) +#if defined(__linux__) || defined(__FreeBSD__) #include "Plugins/Process/elf-core/ProcessElfCore.h" #endif @@ -114,6 +115,7 @@ lldb_private::Initialize () DynamicLoaderPOSIXDYLD::Initialize (); PlatformFreeBSD::Initialize(); PlatformLinux::Initialize(); + PlatformWindows::Initialize(); SymbolFileDWARFDebugMap::Initialize(); ItaniumABILanguageRuntime::Initialize(); #ifndef LLDB_DISABLE_PYTHON @@ -148,7 +150,7 @@ lldb_private::Initialize () ProcessFreeBSD::Initialize(); #endif -#if defined(__linux__) or defined(__FreeBSD__) +#if defined(__linux__) || defined(__FreeBSD__) ProcessElfCore::Initialize(); #endif //---------------------------------------------------------------------- @@ -181,7 +183,6 @@ lldb_private::Terminate () // Terminate and unload and loaded system or user LLDB plug-ins PluginManager::Terminate(); - ABIMacOSX_i386::Terminate(); ABIMacOSX_arm::Terminate(); ABISysV_x86_64::Terminate(); @@ -198,6 +199,7 @@ lldb_private::Terminate () DynamicLoaderPOSIXDYLD::Terminate (); PlatformFreeBSD::Terminate(); PlatformLinux::Terminate(); + PlatformWindows::Terminate(); SymbolFileDWARFDebugMap::Terminate(); ItaniumABILanguageRuntime::Terminate(); #ifndef LLDB_DISABLE_PYTHON @@ -230,7 +232,7 @@ lldb_private::Terminate () ProcessFreeBSD::Terminate(); #endif -#if defined(__linux__) or defined(__FreeBSD__) +#if defined(__linux__) || defined(__FreeBSD__) ProcessElfCore::Terminate(); #endif ProcessGDBRemote::Terminate(); -- cgit v1.2.3