From: Roman Divacky Date: Mon, 11 Nov 2013 18:24:28 +0000 (+0000) Subject: Add test for r194350. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=57281699b254fd4047d5c040740b4ef72378f140;p=clang Add test for r194350. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@194396 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Driver/freebsd.c b/test/Driver/freebsd.c index cc72443961..d1d9ea8a51 100644 --- a/test/Driver/freebsd.c +++ b/test/Driver/freebsd.c @@ -107,3 +107,7 @@ // CHECK-ARM-EABI-NOT: clang{{.*}}" "-cc1"{{.*}}" "-fsjlj-exceptions" // CHECK-ARM-EABI: as{{.*}}" "-mfpu=softvfp" "-meabi=5" // CHECK-ARM-EABI-NOT: as{{.*}}" "-matpcs" + +// RUN: %clang -target x86_64-pc-freebsd8 %s -### -flto -o %t.o 2>&1 \ +// RUN: | FileCheck --check-prefix=CHECK-LTO %s +// CHECK-LTO: ld{{.*}}" "-plugin{{.*}}LLVMgold.so