]> granicus.if.org Git - clang/commit
[Driver] Use ld.lld directly for Fuchsia rather than passing flavor
authorPetr Hosek <phosek@chromium.org>
Mon, 23 Oct 2017 21:31:05 +0000 (21:31 +0000)
committerPetr Hosek <phosek@chromium.org>
Mon, 23 Oct 2017 21:31:05 +0000 (21:31 +0000)
commit96af6760cdf721570c13b4aff35b11dcef5f043c
tree02397b017ad8e3a882cbc62a50451a83abc0873e
parent13f1a2dfa1b0dc79c12150dc5b9a1fea75ce540e
[Driver] Use ld.lld directly for Fuchsia rather than passing flavor

Passing a flavor to LLD requires command line argument, but if these
are being passed through a response file, this will fail because LLD
needs to know which driver to use before processing the response file.
Use ld.lld directly instead to avoid this issue.

Differential Revision: https://reviews.llvm.org/D39176

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@316379 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/ToolChains/Fuchsia.cpp
lib/Driver/ToolChains/Fuchsia.h
test/Driver/fuchsia.c
test/Driver/fuchsia.cpp