aboutsummaryrefslogtreecommitdiff
path: root/clang/test
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2014-04-25 23:38:13 +0000
committerTom Stellard <thomas.stellard@amd.com>2014-04-25 23:38:13 +0000
commit552fa44473eb3412325706db9b6a8877819d542e (patch)
tree36334f5caff49a09546a820921b7f6d56bc8572f /clang/test
parentb534d242728ebd2c62544b5e7e5f2bed04f35440 (diff)
downloadllvm-552fa44473eb3412325706db9b6a8877819d542e.zip
llvm-552fa44473eb3412325706db9b6a8877819d542e.tar.gz
llvm-552fa44473eb3412325706db9b6a8877819d542e.tar.bz2
Merging r198940 (second try):llvmorg-3.4.1-rc2llvmorg-3.4.1
------------------------------------------------------------------------ r198940 | kristof.beyls | 2014-01-10 08:44:34 -0500 (Fri, 10 Jan 2014) | 2 lines Enable -fuse-init-array for all AArch64 ELF targets by default, not just linux. ------------------------------------------------------------------------ llvm-svn: 207288
Diffstat (limited to 'clang/test')
-rw-r--r--clang/test/Driver/constructors.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/clang/test/Driver/constructors.c b/clang/test/Driver/constructors.c
index 9ea91d9..680705f 100644
--- a/clang/test/Driver/constructors.c
+++ b/clang/test/Driver/constructors.c
@@ -46,3 +46,12 @@
// RUN: -target i386-unknown-linux-android \
// RUN: --sysroot=%S/Inputs/basic_android_tree/sysroot \
// RUN: | FileCheck --check-prefix=CHECK-INIT-ARRAY %s
+//
+// RUN: %clang -no-canonical-prefixes %s -### -fsyntax-only 2>&1 \
+// RUN: -target aarch64-none-linux-gnu \
+// RUN: --sysroot=%S/Inputs/basic_linux_tree \
+// RUN: | FileCheck --check-prefix=CHECK-INIT-ARRAY %s
+//
+// RUN: %clang -no-canonical-prefixes %s -### -fsyntax-only 2>&1 \
+// RUN: -target aarch64-none-none-eabi \
+// RUN: | FileCheck --check-prefix=CHECK-INIT-ARRAY %s