[Lldb-commits] [PATCH] D18520: Initialize ProcessWindowsLive when building LLDB with MinGW

Eran Ifrah via lldb-commits lldb-commits at lists.llvm.org
Mon Mar 28 12:12:40 PDT 2016


eran.ifrah created this revision.
eran.ifrah added a reviewer: zturner.
eran.ifrah added a subscriber: lldb-commits.

Initialize ProcessWindowsLive when building LLDB with MinGW

http://reviews.llvm.org/D18520

Files:
  source/API/SystemInitializerFull.cpp

Index: source/API/SystemInitializerFull.cpp
===================================================================
--- source/API/SystemInitializerFull.cpp
+++ source/API/SystemInitializerFull.cpp
@@ -87,7 +87,7 @@
 #include "Plugins/Process/FreeBSD/ProcessFreeBSD.h"
 #endif
 
-#if defined(_MSC_VER)
+#if defined(_MSC_VER) || defined(__MINGW32__)
 #include "lldb/Host/windows/windows.h"
 #include "Plugins/Process/Windows/Live/ProcessWindowsLive.h"
 #include "Plugins/Process/Windows/MiniDump/ProcessWinMiniDump.h"
@@ -331,7 +331,7 @@
     ObjCLanguage::Initialize();
     ObjCPlusPlusLanguage::Initialize();
 
-#if defined(_MSC_VER)
+#if defined(_MSC_VER) || defined(__MINGW32__)
     ProcessWindowsLive::Initialize();
 #endif
 #if defined(__FreeBSD__)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18520.51819.patch
Type: text/x-patch
Size: 752 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160328/3e6c18f1/attachment-0001.bin>


More information about the lldb-commits mailing list