]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
Merge upstream Clang revision 211785:
authoremaste <emaste@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 25 Feb 2015 22:41:27 +0000 (22:41 +0000)
committeremaste <emaste@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 25 Feb 2015 22:41:27 +0000 (22:41 +0000)
commit3af5debe54a1ae7970a63ceefe7eddf268092228
tree50a8f7d4520fc0ac1e739ccd0a4671dae2a6fb0a
parent91a2227b76f9d27bc97f3548f64c87aa7f640bec
Merge upstream Clang revision 211785:
  This commit implements the -fuse-ld= option, so that the user
  can specify -fuse-ld=bfd to use ld.bfd.

  This commit re-applies r194328 with some test case changes.
  It seems that r194328 was breaking macosx or mingw build
  because clang can't find ld.bfd or ld.gold in the given sysroot.
  We should use -B to specify the executable search path instead.

  Patch originally by David Chisnall.

This is a merge from stable/10 rather than MFC as this is change was
already included in Clang 3.5 in HEAD.

MFS-10: r279302
Sponsored by:   The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/9@279303 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
contrib/llvm/tools/clang/include/clang/Basic/DiagnosticDriverKinds.td
contrib/llvm/tools/clang/include/clang/Driver/Options.td
contrib/llvm/tools/clang/include/clang/Driver/ToolChain.h
contrib/llvm/tools/clang/lib/Driver/ToolChain.cpp
contrib/llvm/tools/clang/lib/Driver/ToolChains.cpp
contrib/llvm/tools/clang/lib/Driver/Tools.cpp