From 88beeb0d0042c332770fd418d5581931d11db6cb Mon Sep 17 00:00:00 2001 From: Joerg Sonnenberger Date: Tue, 11 Jul 2017 15:49:45 +0000 Subject: [PATCH] Run the preprocessor test as frontend test for NetBSD, since CC1 mode doesn't get flags like the default target CPU. Update for test to reflect the difference. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@307664 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Preprocessor/init.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/Preprocessor/init.c b/test/Preprocessor/init.c index 0bd9e97845..f7b14f7b76 100644 --- a/test/Preprocessor/init.c +++ b/test/Preprocessor/init.c @@ -2185,13 +2185,13 @@ // 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 -// +// RUN: %clang -E -dM -ffreestanding -target arm-netbsd-eabi %s -o - | FileCheck -match-full-lines -check-prefix ARM-NETBSD %s + // ARM-NETBSD-NOT:#define _LP64 // ARM-NETBSD:#define __APCS_32__ 1 // ARM-NETBSD-NOT:#define __ARMEB__ 1 // ARM-NETBSD:#define __ARMEL__ 1 -// ARM-NETBSD:#define __ARM_ARCH_4T__ 1 +// ARM-NETBSD:#define __ARM_ARCH_5TE__ 1 // ARM-NETBSD:#define __ARM_DWARF_EH__ 1 // ARM-NETBSD:#define __ARM_EABI__ 1 // ARM-NETBSD-NOT:#define __ARM_BIG_ENDIAN 1 -- 2.40.0