summaryrefslogtreecommitdiffstats
path: root/clang/test/Preprocessor/init.c
diff options
context:
space:
mode:
authorEli Friedman <efriedma@codeaurora.org>2018-10-17 21:07:11 +0000
committerEli Friedman <efriedma@codeaurora.org>2018-10-17 21:07:11 +0000
commit39ceea326d5f0cd4e70588373733cc4f1eea8dc3 (patch)
tree8e4a15aaf0d50ff6722db039ac9b537fc5732954 /clang/test/Preprocessor/init.c
parentbf445b87debde573f476cf32df4b3288227d5ea3 (diff)
downloadbcm5719-llvm-39ceea326d5f0cd4e70588373733cc4f1eea8dc3.tar.gz
bcm5719-llvm-39ceea326d5f0cd4e70588373733cc4f1eea8dc3.zip
[AArch64] Define __ELF__ for aarch64-none-elf and other similar triples.
"aarch64-none-elf" is commonly used for AArch64 baremetal toolchains. Differential Revision: https://reviews.llvm.org/D53348 llvm-svn: 344710
Diffstat (limited to 'clang/test/Preprocessor/init.c')
-rw-r--r--clang/test/Preprocessor/init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/test/Preprocessor/init.c b/clang/test/Preprocessor/init.c
index fe53e815a3e..f5f46e23eca 100644
--- a/clang/test/Preprocessor/init.c
+++ b/clang/test/Preprocessor/init.c
@@ -2590,6 +2590,7 @@
// RUN: %clang_cc1 -E -dM -ffreestanding -triple=arm-none-eabihf < /dev/null | FileCheck -match-full-lines -check-prefix ARM-NONE-EABI %s
// RUN: %clang_cc1 -E -dM -ffreestanding -triple=aarch64-none-eabi < /dev/null | FileCheck -match-full-lines -check-prefix ARM-NONE-EABI %s
// RUN: %clang_cc1 -E -dM -ffreestanding -triple=aarch64-none-eabihf < /dev/null | FileCheck -match-full-lines -check-prefix ARM-NONE-EABI %s
+// RUN: %clang_cc1 -E -dM -ffreestanding -triple=aarch64-none-elf < /dev/null | FileCheck -match-full-lines -check-prefix ARM-NONE-EABI %s
// ARM-NONE-EABI: #define __ELF__ 1
// No MachO targets use the full EABI, even if AAPCS is used.
OpenPOWER on IntegriCloud