• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1target triple = "i386-pc-windows"
2
3@.str = private unnamed_addr constant [13 x i8] c"Hello World\0A\00", align 1
4
5define i32 @main() nounwind {
6entry:
7  %call = tail call i32 @puts(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i32 0, i32 0)) nounwind
8  tail call void bitcast (void (...)* @SomeOtherFunction to void ()*)() nounwind
9  ret i32 0
10}
11
12declare i32 @puts(i8* nocapture) nounwind
13
14declare void @SomeOtherFunction(...)
15
16@var = global i32 0
17@llvm.used = appending global [1 x i8*] [i8* bitcast (i32* @var to i8*)], section "llvm.metadata"
18@llvm.global_ctors = appending global [1 x { i32, void ()*, i8* }] [{ i32, void ()*, i8* } { i32 65535, void ()* null, i8* null }]
19