[PATCH] D11237: Add support for -rtlib option and -stdlib option to the mingw driver

Martell Malone martellmalone at gmail.com
Tue Jul 21 23:33:53 PDT 2015


martell updated this revision to Diff 30322.
martell added a comment.

Updated to latest svn.

After some hard testing on windows I discovered we do not need to pass the exception library when using libc++.dll because it is a shared library.

That is the reason why the code already contains
if (!TC.getTriple().isOSWindows())

since we don't handle a OPT_static_libgcc equivalent for compiler-rt
it makes more sense to leave this code alone

Please Review

Many Thanks
Martell


http://reviews.llvm.org/D11237

Files:
  tools/clang/lib/Driver/MinGWToolChain.cpp
  tools/clang/lib/Driver/Tools.cpp
  tools/clang/lib/Driver/Tools.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11237.30322.patch
Type: text/x-patch
Size: 8349 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150722/2b458a41/attachment.bin>


More information about the cfe-commits mailing list