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

2016-12-15 Thread Hafiz Abid Qadeer via Phabricator via lldb-commits
abidh accepted this revision. abidh added a reviewer: abidh. abidh marked an inline comment as done. abidh added a comment. This revision is now accepted and ready to land. Accepted in email. https://reviews.llvm.org/D27759 ___ lldb-commits mailing

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

2016-12-15 Thread Hafiz Abid Qadeer via Phabricator via lldb-commits
abidh updated this revision to Diff 81576. abidh added a comment. Replaced /D with -D as per comments. https://reviews.llvm.org/D27759 Files: cmake/LLDBDependencies.cmake cmake/modules/AddLLDB.cmake cmake/modules/LLDBConfig.cmake include/lldb/Host/windows/windows.h

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

2016-12-15 Thread Zachary Turner via lldb-commits
Looks good On Thu, Dec 15, 2016 at 2:16 AM Hafiz Abid Qadeer via Phabricator < revi...@reviews.llvm.org> wrote: > abidh added a comment. > > In https://reviews.llvm.org/D27759#622332, @labath wrote: > > > Yeah, I meant using it everywhere as a generic "am I on windows, > regardless of the

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

2016-12-15 Thread Hafiz Abid Qadeer via Phabricator via lldb-commits
abidh added a comment. In https://reviews.llvm.org/D27759#622332, @labath wrote: > Yeah, I meant using it everywhere as a generic "am I on windows, regardless > of the compiler" check. (Assuming Zach is fine with that) OK. If Zachary is fine with that then I can do that in a separate commit.

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

2016-12-14 Thread Pavel Labath via Phabricator via lldb-commits
labath added a comment. Yeah, I meant using it everywhere as a generic "am I on windows, regardless of the compiler" check. (Assuming Zach is fine with that) https://reviews.llvm.org/D27759 ___ lldb-commits mailing list lldb-commits@lists.llvm.org

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

2016-12-14 Thread Hafiz Abid Qadeer via Phabricator via lldb-commits
abidh added a comment. > BTW, I am curious, are you planning on building python with mingw as well? If > you are, I'd be interested in knowing how that works out. I would like to do it but have not done it yet. I will keep you posted. Comment at:

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

2016-12-14 Thread Zachary Turner via Phabricator via lldb-commits
zturner added inline comments. Comment at: cmake/modules/LLDBConfig.cmake:246 +if (MSVC) +add_definitions( /D _UNICODE /D UNICODE ) +elseif (MINGW) labath wrote: > Could you check if it's enough to pass `-DFOO` regardless of the platform. > This is the only

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

2016-12-14 Thread Pavel Labath via Phabricator via lldb-commits
labath added a comment. I'll leave Zachary to approve, but it seems reasonable. BTW, I am curious, are you planning on building python with mingw as well? If you are, I'd be interested in knowing how that works out. Comment at: cmake/modules/LLDBConfig.cmake:246 +if (MSVC) +

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

2016-12-14 Thread Hafiz Abid Qadeer via Phabricator via lldb-commits
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