[PATCH] D53066: [Driver] Use forward slashes in most linker arguments

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 24 14:43:10 PDT 2018


mstorsjo updated this revision to Diff 170989.
mstorsjo added a comment.

Changed so that we only rewrite paths if targeting a non-windows OS, or cygwin/mingw. Since convert_to_slash is a no-op when running on anything else than windows, this should hit exactly the cases where converting to forward slashes should make sense.


https://reviews.llvm.org/D53066

Files:
  include/clang/Driver/ToolChain.h
  lib/Driver/Driver.cpp
  lib/Driver/ToolChain.cpp
  lib/Driver/ToolChains/Clang.cpp
  lib/Driver/ToolChains/CommonArgs.cpp
  lib/Driver/ToolChains/Gnu.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53066.170989.patch
Type: text/x-patch
Size: 6890 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181024/d0d6fccf/attachment.bin>


More information about the llvm-commits mailing list