svn commit: r351519 - projects/clang900-import/contrib/llvm/tools/lldb/source/API

Dimitry Andric dim at FreeBSD.org
Mon Aug 26 20:56:16 UTC 2019


Author: dim
Date: Mon Aug 26 20:56:16 2019
New Revision: 351519
URL: https://svnweb.freebsd.org/changeset/base/351519

Log:
  Disable UniversalMachO support in lldb's SystemInitializerFull.cpp,
  since we do not need it.

Modified:
  projects/clang900-import/contrib/llvm/tools/lldb/source/API/SystemInitializerFull.cpp

Modified: projects/clang900-import/contrib/llvm/tools/lldb/source/API/SystemInitializerFull.cpp
==============================================================================
--- projects/clang900-import/contrib/llvm/tools/lldb/source/API/SystemInitializerFull.cpp	Mon Aug 26 20:20:10 2019	(r351518)
+++ projects/clang900-import/contrib/llvm/tools/lldb/source/API/SystemInitializerFull.cpp	Mon Aug 26 20:56:16 2019	(r351519)
@@ -81,7 +81,9 @@
 #endif // LLDB_ENABLE_ALL
 #include "Plugins/MemoryHistory/asan/MemoryHistoryASan.h"
 #include "Plugins/ObjectContainer/BSD-Archive/ObjectContainerBSDArchive.h"
+#ifdef LLDB_ENABLE_ALL
 #include "Plugins/ObjectContainer/Universal-Mach-O/ObjectContainerUniversalMachO.h"
+#endif // LLDB_ENABLE_ALL
 #include "Plugins/ObjectFile/Breakpad/ObjectFileBreakpad.h"
 #include "Plugins/ObjectFile/ELF/ObjectFileELF.h"
 #ifdef LLDB_ENABLE_ALL
@@ -173,7 +175,9 @@ llvm::Error SystemInitializerFull::Initialize() {
 #endif // LLDB_ENABLE_ALL
 
   ObjectContainerBSDArchive::Initialize();
+#ifdef LLDB_ENABLE_ALL
   ObjectContainerUniversalMachO::Initialize();
+#endif // LLDB_ENABLE_ALL
 
   ScriptInterpreterNone::Initialize();
 
@@ -467,7 +471,9 @@ void SystemInitializerFull::Terminate() {
 #endif // LLDB_ENABLE_ALL
 
   ObjectContainerBSDArchive::Terminate();
+#ifdef LLDB_ENABLE_ALL
   ObjectContainerUniversalMachO::Terminate();
+#endif // LLDB_ENABLE_ALL
 
   // Now shutdown the common parts, in reverse order.
   SystemInitializerCommon::Terminate();


More information about the svn-src-projects mailing list