diff options
author | Ed Schouten <ed@nuxi.nl> | 2017-06-25 08:29:09 +0000 |
---|---|---|
committer | Ed Schouten <ed@nuxi.nl> | 2017-06-25 08:29:09 +0000 |
commit | 5ffe2de01efe7f79626ff84ba7fca95bbf80e0ab (patch) | |
tree | c853909343caa375bfdbb73bdd2aef7a7a5a6692 /test/Driver | |
parent | 283ac36731893129f189c580dbe2b4b1f6e87241 (diff) |
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
Diffstat (limited to 'test/Driver')
-rw-r--r-- | test/Driver/ananas.c | 9 |
1 files changed, 9 insertions, 0 deletions
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 |