19 lines · plain
1; RUN: llc -mtriple thumbv7-windows-itanium -o - %s \2; RUN: | FileCheck %s -check-prefix CHECK-WIN3 4; RUN: llc -mtriple thumbv7-windows-gnu -o - %s \5; RUN: | FileCheck %s -check-prefix CHECK-GNU6 7@llvm.global_ctors = appending global [1 x { i32, ptr, ptr }] [{ i32, ptr, ptr } { i32 65535, ptr @function, ptr null }]8 9define arm_aapcs_vfpcc void @function() {10entry:11 ret void12}13 14; CHECK-WIN: .section .CRT$XCU,"dr"15; CHECK-WIN: .long function16 17; CHECK-GNU: .section .ctors,"dw"18; CHECK-GNU: .long function19