From 57281699b254fd4047d5c040740b4ef72378f140 Mon Sep 17 00:00:00 2001 From: Roman Divacky Date: Mon, 11 Nov 2013 18:24:28 +0000 Subject: [PATCH] Add test for r194350. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@194396 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Driver/freebsd.c | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.40.0