From 788ec0926fdef0c3d12a1b4490351a45359080a8 Mon Sep 17 00:00:00 2001 From: Roman Divacky Date: Thu, 2 Jan 2014 17:18:03 +0000 Subject: [PATCH] Add test for r198311. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@198321 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 795372fb89..802a8be160 100644 --- a/test/Driver/freebsd.c +++ b/test/Driver/freebsd.c @@ -111,3 +111,7 @@ // 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 + +// RUN: %clang -target sparc-unkown-freebsd8 %s -### -fpic -o %t.o 2>&1 \ +// RUN: | FileCheck --check-prefix=CHECK-SPARC-PIE %s +// CHECK-SPARC-PIE: as{{.*}}" "-KPIC -- 2.40.0