[PATCH] D98158: [Driver] Pass --unwindlib=platform to tests that check unwinder
Petr Hosek via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Mar 7 15:10:15 PST 2021
phosek created this revision.
phosek added reviewers: MaskRay, mstorsjo.
phosek requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
There are two additional cases that were missed in D98131 <https://reviews.llvm.org/D98131>.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D98158
Files:
clang/test/Driver/linux-ld.c
Index: clang/test/Driver/linux-ld.c
===================================================================
--- clang/test/Driver/linux-ld.c
+++ clang/test/Driver/linux-ld.c
@@ -328,7 +328,7 @@
//
// Check that flags can be combined. The -static dominates.
// RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
-// RUN: --target=x86_64-unknown-linux -rtlib=platform \
+// RUN: --target=x86_64-unknown-linux -rtlib=platform --unwindlib=platform \
// RUN: -static-libgcc -static \
// RUN: --gcc-toolchain="" \
// RUN: --sysroot=%S/Inputs/basic_linux_tree \
@@ -2055,7 +2055,7 @@
// CHECK-LD-GENTOO: "-lc"
// CHECK-LD-GENTOO: "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed"
// RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
-// RUN: --target=i686-unknown-linux-gnu -rtlib=platform \
+// RUN: --target=i686-unknown-linux-gnu -rtlib=platform --unwindlib=platform \
// RUN: --sysroot=%S/Inputs/gentoo_linux_gcc_multi_version_tree \
// RUN: --gcc-toolchain="" \
// RUN: | FileCheck --check-prefix=CHECK-LD-GENTOO-32 %s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98158.328908.patch
Type: text/x-patch
Size: 1077 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210307/fb148027/attachment.bin>
More information about the cfe-commits
mailing list