• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc -mtriple thumbv7-windows-itanium -o - %s \
2; RUN:   | FileCheck %s -check-prefix CHECK-WIN
3
4; RUN: llc -mtriple thumbv7-windows-gnu -o - %s \
5; RUN:   | FileCheck %s -check-prefix CHECK-GNU
6
7@llvm.global_ctors = appending global [1 x { i32, void ()*, i8* }] [{ i32, void ()*, i8* } { i32 65535, void ()* @function, i8* null }]
8
9define arm_aapcs_vfpcc void @function() {
10entry:
11  ret void
12}
13
14; CHECK-WIN: .section .CRT$XCU,"dr"
15; CHECK-WIN: .long function
16
17; CHECK-GNU: .section .ctors,"dw"
18; CHECK-GNU: .long function
19