]> granicus.if.org Git - clang/commit
[Driver] Update Fuchsia driver path handling
authorPetr Hosek <phosek@chromium.org>
Wed, 12 Jul 2017 19:15:51 +0000 (19:15 +0000)
committerPetr Hosek <phosek@chromium.org>
Wed, 12 Jul 2017 19:15:51 +0000 (19:15 +0000)
commit429fe8229496f639df6b0b4734beedb1d4317aa5
tree4e1ad28af55ff005136942b94c956e690219aefc
parent9a439088f2879ea18b67cbf3c583ab7c8928a521
[Driver] Update Fuchsia driver path handling

Several improvements to the Fuchsia driver:

* Search for C++ library headers and libraries in directories that
are part of the toolchain distribution rather than sysroot.

* Use LLVM support utlities to construct paths to make sure the driver
is also usable on Windows for cross-compiling.

* Change the driver to inherit directly from ToolChain rather than
Generic_GCC since we don't need any of the GCC related multilib logic.

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

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