summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2014-03-06 23:29:58 +0000
committerGreg Clayton <gclayton@apple.com>2014-03-06 23:29:58 +0000
commit0e4b605e475690f8899c8a8a45e25b24138d2b82 (patch)
tree02cb4bfba5ef50f2fb0ca6ab6016c752dcccfff2
parent747c5934747e2f27e5fa7b6428364af21c2e8c21 (diff)
downloadbcm5719-llvm-0e4b605e475690f8899c8a8a45e25b24138d2b82.tar.gz
bcm5719-llvm-0e4b605e475690f8899c8a8a45e25b24138d2b82.zip
Re-enable the JITLoaderGDB and ProcessElfCore that were disabled by:
Author: ace2001ac Date: Thu Mar 6 05:30:34 2014 New Revision: 203107 URL: http://llvm.org/viewvc/llvm-project?rev=203107&view=rev Log: Fix Windows build break introduced in r203035. Add '#if defined(__linux__) || defined(__FreeBSD__)' around JITLoaderGDB and ProcessElfCore, which are only built on Linux and FreeBSD. Modified: lldb/trunk/source/lldb.cpp Windows will need to start building all files necessary so that JITLoaderGDB and ProcessElfCore can build since they should work on all platforms. llvm-svn: 203178
-rw-r--r--lldb/source/lldb.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/lldb/source/lldb.cpp b/lldb/source/lldb.cpp
index 0355f859c3d..4afd74e7f54 100644
--- a/lldb/source/lldb.cpp
+++ b/lldb/source/lldb.cpp
@@ -124,10 +124,8 @@ lldb_private::Initialize ()
ScriptInterpreterPython::InitializePrivate();
OperatingSystemPython::Initialize();
#endif
-#if defined(__linux__) || defined(__FreeBSD__)
JITLoaderGDB::Initialize();
ProcessElfCore::Initialize();
-#endif
#if defined (__APPLE__)
//----------------------------------------------------------------------
@@ -210,11 +208,9 @@ lldb_private::Terminate ()
#ifndef LLDB_DISABLE_PYTHON
OperatingSystemPython::Terminate();
#endif
-#if defined(__linux__) || defined(__FreeBSD__)
JITLoaderGDB::Terminate();
ProcessElfCore::Terminate();
-#endif
-
+
#if defined (__APPLE__)
DynamicLoaderMacOSXDYLD::Terminate();
DynamicLoaderDarwinKernel::Terminate();
OpenPOWER on IntegriCloud