source: icGREP/icgrep-devel/llvm-3.8.0.src/test/CodeGen/ARM/Windows/structors.ll @ 5027

Last change on this file since 5027 was 5027, checked in by cameron, 3 years ago

Upgrade to llvm 3.8

File size: 529 bytes
Line 
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
Note: See TracBrowser for help on using the repository browser.