[Lldb-commits] [PATCH] D27759: Fix build for mingw.

Hafiz Abid Qadeer via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Dec 14 08:40:27 PST 2016


abidh created this revision.
abidh added reviewers: labath, zturner.
abidh added a subscriber: lldb-commits.
Herald added subscribers: mgorny, ki.stfu.

I was building lldb using cross mingw-w64 toolchain on Linux and observed some issues. This is first patch in the series to fix that build. It mostly corrects the case of include files and adjusts some #ifdefs from _MSC_VER to _WIN32 and vice versa. I built lldb on windows with VS after applying this patch to make sure it does not break the build there.


https://reviews.llvm.org/D27759

Files:
  cmake/LLDBDependencies.cmake
  cmake/modules/AddLLDB.cmake
  cmake/modules/LLDBConfig.cmake
  include/lldb/Host/windows/windows.h
  source/API/SystemInitializerFull.cpp
  source/Core/Mangled.cpp
  source/Host/common/File.cpp
  source/Host/windows/Host.cpp
  source/Host/windows/HostProcessWindows.cpp
  source/Host/windows/ProcessRunLock.cpp
  source/Plugins/ObjectFile/PECOFF/WindowsMiniDump.cpp
  source/Plugins/Process/Windows/Common/ExceptionRecord.h
  source/Target/ProcessLaunchInfo.cpp
  tools/driver/Driver.cpp
  tools/lldb-mi/MICmnStreamStdin.cpp
  tools/lldb-mi/MIUtilDebug.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27759.81387.patch
Type: text/x-patch
Size: 7041 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20161214/a38819e4/attachment-0001.bin>


More information about the lldb-commits mailing list