aboutsummaryrefslogtreecommitdiff
path: root/clang/test
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2014-04-11 20:23:39 +0000
committerTom Stellard <thomas.stellard@amd.com>2014-04-11 20:23:39 +0000
commit18959c3191983ca66f475c7f1519608f898e0af4 (patch)
tree328d5a5490bb68bc86a3c619f5d2bcc0da7e7474 /clang/test
parent7ed7738a946d8dd6c80b7defa16815540537a05e (diff)
downloadllvm-18959c3191983ca66f475c7f1519608f898e0af4.zip
llvm-18959c3191983ca66f475c7f1519608f898e0af4.tar.gz
llvm-18959c3191983ca66f475c7f1519608f898e0af4.tar.bz2
Merging r198940:
------------------------------------------------------------------------ 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: 206064
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