[clang] 1ca51c0 - [Driver][test] Fix Driver/hexagon-toolchain-elf.c for -DCLANG_DEFAULT_LINKER=lld builds
Fangrui Song via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 14 13:18:30 PST 2020
Author: Fangrui Song
Date: 2020-01-14T13:18:23-08:00
New Revision: 1ca51c06729d7f7326fcc2a826e07d1c92158dfd
URL: https://github.com/llvm/llvm-project/commit/1ca51c06729d7f7326fcc2a826e07d1c92158dfd
DIFF: https://github.com/llvm/llvm-project/commit/1ca51c06729d7f7326fcc2a826e07d1c92158dfd.diff
LOG: [Driver][test] Fix Driver/hexagon-toolchain-elf.c for -DCLANG_DEFAULT_LINKER=lld builds
Reviewed By: nathanchance, sidneym
Differential Revision: https://reviews.llvm.org/D72668
Added:
Modified:
clang/test/Driver/hexagon-toolchain-elf.c
Removed:
################################################################################
diff --git a/clang/test/Driver/hexagon-toolchain-elf.c b/clang/test/Driver/hexagon-toolchain-elf.c
index cf7d8bdb3931..44bff6f703a2 100644
--- a/clang/test/Driver/hexagon-toolchain-elf.c
+++ b/clang/test/Driver/hexagon-toolchain-elf.c
@@ -538,11 +538,12 @@
// CHECK080: "-Wreturn-type"
// -----------------------------------------------------------------------------
-// Default, not passing -fuse-ld
+// Default, hexagon-link is used
// -----------------------------------------------------------------------------
// RUN: %clang -### -target hexagon-unknown-elf \
// RUN: -ccc-install-dir %S/Inputs/hexagon_tree/Tools/bin \
// RUN: -mcpu=hexagonv60 \
+// RUN: -fuse-ld=fake-value-to-ignore-CLANG_DEFAULT_LINKER \
// RUN: %s 2>&1 \
// RUN: | FileCheck -check-prefix=CHECK081 %s
// REQUIRES: hexagon-registered-target
More information about the cfe-commits
mailing list