Move LTO support library to a component, allowing it to be tested
[oota-llvm.git] / test / LTO / cfi_endproc.ll
1 ; RUN: llvm-as < %s >%t1
2 ; RUN: llvm-lto -o %t2 %t1
3
4 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128"
5 target triple = "x86_64-unknown-linux-gnu"
6
7 module asm ".text"
8 module asm ".align 16, 0x90"
9 module asm ".type PR14512, @function"
10 module asm "PR14512:.cfi_startproc"
11 module asm "ret"
12 module asm ".cfi_endproc"
13
14 declare void @PR14512()
15
16 define i32 @main(i32 %argc, i8** %argv) {
17   call void @PR14512()
18   ret i32 0
19 }
20 ; XFAIL: win32