From c6d1a730a6a8a3b0b3983ec769830b455e0f80b0 Mon Sep 17 00:00:00 2001 From: Ed Schouten Date: Mon, 5 Sep 2016 18:38:34 +0000 Subject: 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 --- clang/test/Preprocessor/init.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'clang/test/Preprocessor/init.c') 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 -- cgit v1.2.3