[llvm] r210409 - test: add test case for SVN r210406
Saleem Abdulrasool
compnerd at compnerd.org
Sat Jun 7 18:27:32 PDT 2014
Author: compnerd
Date: Sat Jun 7 20:27:32 2014
New Revision: 210409
URL: http://llvm.org/viewvc/llvm-project?rev=210409&view=rev
Log:
test: add test case for SVN r210406
Add missing test case for constructor section selection. Thanks David Blaikie!
Added:
llvm/trunk/test/CodeGen/ARM/Windows/structors.ll
Added: llvm/trunk/test/CodeGen/ARM/Windows/structors.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/Windows/structors.ll?rev=210409&view=auto
==============================================================================
--- llvm/trunk/test/CodeGen/ARM/Windows/structors.ll (added)
+++ llvm/trunk/test/CodeGen/ARM/Windows/structors.ll Sat Jun 7 20:27:32 2014
@@ -0,0 +1,12 @@
+; RUN: llc -mtriple thumbv7-windows-itanium -o - %s | FileCheck %s
+
+ at 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
+
More information about the llvm-commits
mailing list