1; This first line will generate the .o files for the next run line 2; RUN: rm -rf %t && mkdir -p %t 3; RUN: llc -filetype=obj -o %t/foo.o %p/Inputs/foo-return-i32-0.ll 4; RUN: llc -filetype=obj -o %t/bar.o %p/Inputs/bar-return-i32-call-foo.ll 5; RUN: llvm-ar r %t/staticlib.a %t/foo.o %t/bar.o 6; RUN: lli -jit-kind=orc-lazy -extra-archive %t/staticlib.a %s 7 8declare i32 @bar() 9 10define i32 @main() { 11 %r = call i32 @bar() ; <i32> [#uses=1] 12 ret i32 %r 13} 14