Debian Codegraph @

llvm/test/tools/llvm-readobj/wasm/Inputs/trivial.ll

raw
1 ; Input used for generating checked-in binaries (trivial.obj.*)
2 ; llc -mtriple=wasm32-unknown-unknown trivial.ll -filetype=obj -o trivial.obj.wasm
3
4 @.str = private unnamed_addr constant [13 x i8] c"Hello World\0A\00", align 1
5
6 define i32 @main() nounwind {
7 entry:
8 %call = tail call i32 @puts(ptr @.str) nounwind
9 tail call void @SomeOtherFunction() nounwind
10 ret i32 0
11 }
12
13 declare i32 @puts(ptr nocapture) nounwind
14
15 declare void @SomeOtherFunction(...)