From 5ffe2de01efe7f79626ff84ba7fca95bbf80e0ab Mon Sep 17 00:00:00 2001 From: Ed Schouten Date: Sun, 25 Jun 2017 08:29:09 +0000 Subject: Add support for Ananas platform Ananas is a home-brew operating system, mainly for amd64 machines. After using GCC for quite some time, it has switched to clang and never looked back - yet, having to manually patch things is annoying, so it'd be much nicer if this was in the official tree. More information: https://github.com/zhmu/ananas/ https://rink.nu/projects/ananas.html Submitted by: Rink Springer Differential Revision: https://reviews.llvm.org/D32936 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@306239 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Driver/ananas.c | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test/Driver/ananas.c (limited to 'test/Driver') diff --git a/test/Driver/ananas.c b/test/Driver/ananas.c new file mode 100644 index 0000000000..2a5b35ed6c --- /dev/null +++ b/test/Driver/ananas.c @@ -0,0 +1,9 @@ +// RUN: %clang -no-canonical-prefixes -target x86_64-unknown-ananas -static %s \ +// RUN: --sysroot=%S/Inputs/ananas-tree -### 2>&1 \ +// RUN: | FileCheck --check-prefix=CHECK-STATIC %s +// CHECK-STATIC: ld{{.*}}" "-Bstatic" +// CHECK-STATIC: crt0.o +// CHECK-STATIC: crti.o +// CHECK-STATIC: crtbegin.o +// CHECK-STATIC: crtend.o +// CHECK-STATIC: crtn.o -- cgit v1.2.3