summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/fuchsia.c
diff options
context:
space:
mode:
authorPetr Hosek <phosek@chromium.org>2017-07-12 22:14:41 +0000
committerPetr Hosek <phosek@chromium.org>2017-07-12 22:14:41 +0000
commitcc24851da6b32631746e208789783a71b76457a6 (patch)
tree43b67d4ad4242a2548b0d6a83d67ee7c14e0676e /clang/test/Driver/fuchsia.c
parentda467ed444e5285008260f775022db5537ac3df4 (diff)
downloadbcm5719-llvm-cc24851da6b32631746e208789783a71b76457a6.tar.gz
bcm5719-llvm-cc24851da6b32631746e208789783a71b76457a6.zip
Reland "[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/D35328 llvm-svn: 307856
Diffstat (limited to 'clang/test/Driver/fuchsia.c')
-rw-r--r--clang/test/Driver/fuchsia.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Driver/fuchsia.c b/clang/test/Driver/fuchsia.c
index 58c2bbe533c..64d31cc0d38 100644
--- a/clang/test/Driver/fuchsia.c
+++ b/clang/test/Driver/fuchsia.c
@@ -12,7 +12,7 @@
// CHECK: Scrt1.o
// CHECK-NOT: crti.o
// CHECK-NOT: crtbegin.o
-// CHECK: "-L[[SYSROOT]]/lib"
+// CHECK: "-L[[SYSROOT]]{{/|\\\\}}lib"
// CHECK: "{{.*[/\\]}}libclang_rt.builtins-x86_64.a"
// CHECK: "-lc"
// CHECK-NOT: crtend.o
OpenPOWER on IntegriCloud