summaryrefslogtreecommitdiff
path: root/test/CodeGen/ARM
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2014-06-08 01:27:32 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2014-06-08 01:27:32 +0000
commite668525dd10e41ee707f09081ccccc6b0d01a8f0 (patch)
tree61abe40446c459853b2ed4d90c4417f99b782565 /test/CodeGen/ARM
parente231836fe4732635c7875d20ffe10f1018946f2f (diff)
downloadllvm-e668525dd10e41ee707f09081ccccc6b0d01a8f0.tar.gz
llvm-e668525dd10e41ee707f09081ccccc6b0d01a8f0.tar.bz2
llvm-e668525dd10e41ee707f09081ccccc6b0d01a8f0.tar.xz
test: add test case for SVN r210406
Add missing test case for constructor section selection. Thanks David Blaikie! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210409 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM')
-rw-r--r--test/CodeGen/ARM/Windows/structors.ll12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/CodeGen/ARM/Windows/structors.ll b/test/CodeGen/ARM/Windows/structors.ll
new file mode 100644
index 0000000000..a1a90265c0
--- /dev/null
+++ b/test/CodeGen/ARM/Windows/structors.ll
@@ -0,0 +1,12 @@
+; RUN: llc -mtriple thumbv7-windows-itanium -o - %s | FileCheck %s
+
+@llvm.global_ctors = appending global [1 x { i32, void ()*, i8* }] [{ i32, void ()*, i8* } { i32 65535, void ()* @function, i8* null }]
+
+define arm_aapcs_vfpcc void @function() {
+entry:
+ ret void
+}
+
+; CHECK: .section .CRT$XCU,"rd"
+; CHECK: .long function
+