[Lldb-commits] [lldb] r203178 - Re-enable the JITLoaderGDB and ProcessElfCore that were disabled by:
Greg Clayton
gclayton at apple.com
Thu Mar 6 15:29:58 PST 2014
Author: gclayton
Date: Thu Mar 6 17:29:58 2014
New Revision: 203178
URL: http://llvm.org/viewvc/llvm-project?rev=203178&view=rev
Log:
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.
Modified:
lldb/trunk/source/lldb.cpp
Modified: lldb/trunk/source/lldb.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/lldb.cpp?rev=203178&r1=203177&r2=203178&view=diff
==============================================================================
--- lldb/trunk/source/lldb.cpp (original)
+++ lldb/trunk/source/lldb.cpp Thu Mar 6 17:29:58 2014
@@ -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();
More information about the lldb-commits
mailing list