r367602 - Test linux only for absolute paths in the -fuse-ld option
Yuanfang Chen via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 1 11:50:00 PDT 2019
Author: yuanfang
Date: Thu Aug 1 11:49:59 2019
New Revision: 367602
URL: http://llvm.org/viewvc/llvm-project?rev=367602&view=rev
Log:
Test linux only for absolute paths in the -fuse-ld option
Some target do not use this option and may emit a error message for
using it.
Modified:
cfe/trunk/test/Driver/fuse-ld.c
Modified: cfe/trunk/test/Driver/fuse-ld.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/fuse-ld.c?rev=367602&r1=367601&r2=367602&view=diff
==============================================================================
--- cfe/trunk/test/Driver/fuse-ld.c (original)
+++ cfe/trunk/test/Driver/fuse-ld.c Thu Aug 1 11:49:59 2019
@@ -1,5 +1,6 @@
// RUN: %clang %s -### \
// RUN: -fuse-ld=/usr/local/bin/or1k-linux-ld 2>&1 \
+// RUN: -target x86_64-unknown-linux \
// RUN: | FileCheck %s --check-prefix=CHECK-ABSOLUTE-LD
// CHECK-ABSOLUTE-LD: /usr/local/bin/or1k-linux-ld
More information about the cfe-commits
mailing list