Author: Petr Hosek Date: 2021-03-07T17:28:34-08:00 New Revision: 7514f1a312751089ef25df02eaf638a5a5192da3
URL: https://github.com/llvm/llvm-project/commit/7514f1a312751089ef25df02eaf638a5a5192da3 DIFF: https://github.com/llvm/llvm-project/commit/7514f1a312751089ef25df02eaf638a5a5192da3.diff LOG: [Driver] Pass --unwindlib=platform to tests that check unwinder There are two additional cases that were missed in D98131. Differential Revision: https://reviews.llvm.org/D98158 Added: Modified: clang/test/Driver/linux-ld.c Removed: ################################################################################ diff --git a/clang/test/Driver/linux-ld.c b/clang/test/Driver/linux-ld.c index 77d2c82ee3d4..5263928ff3b9 100644 --- a/clang/test/Driver/linux-ld.c +++ b/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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits