[PATCH] D92028: Fix driver test from e16c0a9a689719
Nico Weber via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 24 07:51:45 PST 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rG5ce85e66358a: Fix driver test from e16c0a9a689719 (authored by thakis).
Herald added a project: clang.
Changed prior to commit:
https://reviews.llvm.org/D92028?vs=307335&id=307361#toc
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D92028/new/
https://reviews.llvm.org/D92028
Files:
clang/test/Driver/Inputs/lld/ld64.lld
clang/test/Driver/Inputs/lld/ld64.lld.darwinnew
clang/test/Driver/darwin-ld-demangle-lld.c
Index: clang/test/Driver/darwin-ld-demangle-lld.c
===================================================================
--- clang/test/Driver/darwin-ld-demangle-lld.c
+++ clang/test/Driver/darwin-ld-demangle-lld.c
@@ -1,6 +1,12 @@
// With -fuse-ld=lld, -demangle is always passed to the linker on Darwin.
+// REQUIRES: shell
-// RUN: %clang -### -fuse-ld=lld %s 2>&1 | FileCheck %s
+// RUN: %clang --target=x86_64-apple-darwin -### \
+// RUN: -fuse-ld=lld -B%S/Inputs/lld -mlinker-version=0 %s 2>&1 \
+// RUN: | FileCheck %s
// FIXME: Remove ld.darwinnew once it's the default (and only) mach-o lld.
-// RUN: %clang -### -fuse-ld=lld.darwinnew %s 2>&1 | FileCheck %s
-// CHECK: -demangle
+// RUN: %clang --target=x86_64-apple-darwin -### \
+// RUN: -fuse-ld=lld.darwinnew -B%S/Inputs/lld -mlinker-version=0 %s 2>&1 \
+// RUN: | FileCheck %s
+
+// CHECK: "-demangle"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92028.307361.patch
Type: text/x-patch
Size: 876 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201124/b8fbb411/attachment.bin>
More information about the cfe-commits
mailing list