blob: 463442eb90ac6e9de84a8132c6e818b82cd40e4f [file] [log] [blame]
Michael J. Spencerb28f4612011-10-25 22:30:58 +00001@.str = private unnamed_addr constant [13 x i8] c"Hello World\0A\00", align 1
2
3define i32 @main() nounwind {
4entry:
5 %call = tail call i32 @puts(i8* getelementptr inbounds ([13 x i8]* @.str, i32 0, i32 0)) nounwind
6 tail call void bitcast (void (...)* @SomeOtherFunction to void ()*)() nounwind
7 ret i32 0
8}
9
10declare i32 @puts(i8* nocapture) nounwind
11
12declare void @SomeOtherFunction(...)
Stephen Hinesc6a4f5e2014-07-21 00:45:20 -070013
14@var = global i32 0
15@llvm.used = appending global [1 x i8*] [i8* bitcast (i32* @var to i8*)], section "llvm.metadata"
16@llvm.global_ctors = appending global [1 x { i32, void ()*, i8* }] [{ i32, void ()*, i8* } { i32 65535, void ()* null, i8* null }]