Fix mingw toolchain to honor sysroot on Linux and add tests.
authorYaron Keren <yaron.keren@gmail.com>
Tue, 21 Jul 2015 11:01:00 +0000 (11:01 +0000)
committerYaron Keren <yaron.keren@gmail.com>
Tue, 21 Jul 2015 11:01:00 +0000 (11:01 +0000)
commit2859653d51d75e8cf7b8b3123fa3203b4c6d6fa5
tree88811fb490efa9c234bc7cde67c0c5d88dd41ffb
parentd0bf8313100f28f90ba17a2697681cf20b5a0e53
Fix mingw toolchain to honor sysroot on Linux and add tests.

It should now support three mingw distributions running on Windows
and three Linux distributions. The include directories for each are
listed in the comments.

llvm-svn: 242766
clang/lib/Driver/MinGWToolChain.cpp
clang/lib/Driver/ToolChains.h
clang/test/Driver/mingw-linux.cpp [new file with mode: 0644]
clang/test/Driver/mingw-win.cpp [new file with mode: 0644]