1 ; Input used for generating checked-in binaries (trivial.obj.*)
2 ; llc -mtriple=i386-apple-darwin10 trivial.ll -filetype=obj -o trivial.obj.macho-i386 -relocation-model=pic
3 ; llc -mtriple=x86_64-apple-darwin10 trivial.ll -filetype=obj -o trivial.obj.macho-x86-64 -relocation-model=pic
5 @.str = private unnamed_addr constant [13 x i8] c"Hello World\0A\00", align 1
7 define i32 @main() nounwind {
9 %call = tail call i32 @puts(ptr @.str) nounwind
10 tail call void @SomeOtherFunction() nounwind
14 declare i32 @puts(ptr nocapture) nounwind
16 declare void @SomeOtherFunction(...)