From 5be3dbdb082ffba4f846e3572ea802d156dd8d34 Mon Sep 17 00:00:00 2001 From: Sterling Augustine Date: Tue, 29 Jan 2019 18:27:51 +0000 Subject: Rollback unwindlib patch. llvm-svn: 352524 --- clang/test/Driver/compiler-rt-unwind.c | 50 ---------------------------------- 1 file changed, 50 deletions(-) delete mode 100644 clang/test/Driver/compiler-rt-unwind.c (limited to 'clang/test/Driver/compiler-rt-unwind.c') diff --git a/clang/test/Driver/compiler-rt-unwind.c b/clang/test/Driver/compiler-rt-unwind.c deleted file mode 100644 index 9d881ea0e0a..00000000000 --- a/clang/test/Driver/compiler-rt-unwind.c +++ /dev/null @@ -1,50 +0,0 @@ -// General tests that the driver handles combinations of --rtlib=XXX and -// --unwindlib=XXX properly. -// -// RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \ -// RUN: --target=x86_64-unknown-linux \ -// RUN: --gcc-toolchain="" \ -// RUN: | FileCheck --check-prefix=RTLIB-EMPTY %s -// RTLIB-EMPTY: "{{.*}}lgcc" -// RTLIB-EMPTY: "{{.*}}-lgcc_s" -// -// RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \ -// RUN: --target=x86_64-unknown-linux -rtlib=gcc \ -// RUN: --gcc-toolchain="" \ -// RUN: | FileCheck --check-prefix=RTLIB-GCC %s -// RTLIB-GCC: "{{.*}}lgcc" -// RTLIB-GCC: "{{.*}}lgcc_s" -// -// RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \ -// RUN: --target=x86_64-unknown-linux -rtlib=gcc --unwindlib=compiler-rt \ -// RUN: --gcc-toolchain="" \ -// RUN: | FileCheck --check-prefix=RTLIB-GCC-UNWINDLIB-COMPILER-RT %s -// RTLIB-GCC-UNWINDLIB-COMPILER-RT: "{{.*}}lgcc" -// RTLIB-GCC-UNWINDLIB-COMPILER-RT: "{{.*}}lunwind" -// -// RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \ -// RUN: --target=x86_64-unknown-linux -rtlib=compiler-rt \ -// RUN: --gcc-toolchain="" \ -// RUN: | FileCheck --check-prefix=RTLIB-COMPILER-RT %s -// RTLIB-COMPILER-RT: "{{.*}}libclang_rt.builtins-x86_64.a" -// RTLIB-COMPILER-RT: "{{.*}}-lunwind" -// -// RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \ -// RUN: --target=x86_64-unknown-linux -rtlib=compiler-rt --unwindlib=gcc \ -// RUN: --gcc-toolchain="" \ -// RUN: | FileCheck --check-prefix=RTLIB-COMPILER-RT-UNWINDLIB-GCC %s -// RTLIB-COMPILER-RT-UNWINDLIB-GCC: "{{.*}}libclang_rt.builtins-x86_64.a" -// RTLIB-COMPILER-RT-UNWINDLIB-GCC: "{{.*}}lgcc_s" -// -// RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \ -// RUN: --target=x86_64-unknown-linux -rtlib=compiler-rt --unwindlib=gcc \ -// RUN: -static --gcc-toolchain="" \ -// RUN: | FileCheck --check-prefix=RTLIB-COMPILER-RT-UNWINDLIB-GCC-STATIC %s -// RTLIB-COMPILER-RT-UNWINDLIB-GCC-STATIC: "{{.*}}libclang_rt.builtins-x86_64.a" -// RTLIB-COMPILER-RT-UNWINDLIB-GCC-STATIC: "{{.*}}lgcc_eh" -// -// RUN: not %clang -no-canonical-prefixes %s -o %t.o 2> %t.err \ -// RUN: --target=x86_64-unknown-linux -rtlib=libgcc --unwindlib=compiler-rt \ -// RUN: --gcc-toolchain="" \ -// RUN: FileCheck --input-file=%t.err --check-prefix=RTLIB-GCC-UNWINDLIB-COMPILER_RT %s -// RTLIB-GCC-UNWINDLIB-COMPILER_RT: "{{[.|\\\n]*}}--rtlib=libgcc requires --unwindlib=libgcc" -- cgit v1.2.3