diff options
author | Ed Schouten <ed@nuxi.nl> | 2016-09-05 18:38:34 +0000 |
---|---|---|
committer | Ed Schouten <ed@nuxi.nl> | 2016-09-05 18:38:34 +0000 |
commit | c6d1a730a6a8a3b0b3983ec769830b455e0f80b0 (patch) | |
tree | fd55d95a6d1911019798318428309b9b9b580e8f /clang/test/Preprocessor | |
parent | 6dd4b3526a4ff3e6d7445b1a957e2660618af843 (diff) | |
download | bcm5719-llvm-c6d1a730a6a8a3b0b3983ec769830b455e0f80b0.tar.gz bcm5719-llvm-c6d1a730a6a8a3b0b3983ec769830b455e0f80b0.zip |
Add support for targeting armv6-unknown-cloudabi-eabihf.
I'm in the progress of adding ARMv6 support to CloudABI. On the compiler
side, everything seems to work properly with this tiny change applied.
llvm-svn: 280672
Diffstat (limited to 'clang/test/Preprocessor')
-rw-r--r-- | clang/test/Preprocessor/init.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/test/Preprocessor/init.c b/clang/test/Preprocessor/init.c index 5919c4de5f4..88fc9bd2db4 100644 --- a/clang/test/Preprocessor/init.c +++ b/clang/test/Preprocessor/init.c @@ -1975,6 +1975,11 @@ // ARMEABIHARDFP:#define __arm 1 // ARMEABIHARDFP:#define __arm__ 1 +// RUN: %clang_cc1 -E -dM -ffreestanding -triple=armv6-unknown-cloudabi-eabihf < /dev/null | FileCheck -match-full-lines -check-prefix ARMV6-CLOUDABI %s +// +// ARMV6-CLOUDABI:#define __CloudABI__ 1 +// ARMV6-CLOUDABI:#define __arm__ 1 + // RUN: %clang_cc1 -E -dM -ffreestanding -triple=arm-netbsd-eabi < /dev/null | FileCheck -match-full-lines -check-prefix ARM-NETBSD %s // // ARM-NETBSD-NOT:#define _LP64 |