diff options
author | Deepak Panickal <deepak@codeplay.com> | 2013-10-15 12:32:12 +0000 |
---|---|---|
committer | Deepak Panickal <deepak@codeplay.com> | 2013-10-15 12:32:12 +0000 |
commit | a0154f98dbd68ede5a02f1ec6bfb363511aee36a (patch) | |
tree | 254778c59538012aa8f3ff849dde7e7f95c39f5a /lldb/source/lldb.cpp | |
parent | 7ac0b2b0e1f683e11b074d61c8a915560ab74588 (diff) | |
download | bcm5719-llvm-a0154f98dbd68ede5a02f1ec6bfb363511aee36a.tar.gz bcm5719-llvm-a0154f98dbd68ede5a02f1ec6bfb363511aee36a.zip |
Patch to add PlatformWindows, based on Carlo Kok's version from the Windows branch.
llvm-svn: 192693
Diffstat (limited to 'lldb/source/lldb.cpp')
-rw-r--r-- | lldb/source/lldb.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
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(); |