[PATCH] D72668: [Driver][test] Fix Driver/hexagon-toolchain-elf.c for -DCLANG_DEFAULT_LINKER=lld builds
Fangrui Song via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 13 16:59:54 PST 2020
MaskRay created this revision.
MaskRay added reviewers: leonardchan, nathanchance, sidney, bcain, kparzysz.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D72668
Files:
clang/test/Driver/hexagon-toolchain-elf.c
Index: clang/test/Driver/hexagon-toolchain-elf.c
===================================================================
--- clang/test/Driver/hexagon-toolchain-elf.c
+++ clang/test/Driver/hexagon-toolchain-elf.c
@@ -538,11 +538,12 @@
// CHECK080: "-Wreturn-type"
// -----------------------------------------------------------------------------
-// Default, not passing -fuse-ld
+// Default, when the 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72668.237816.patch
Type: text/x-patch
Size: 835 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200114/3b1a2f45/attachment.bin>
More information about the cfe-commits
mailing list