3 ; This first line will generate the .o files for the next run line
4 ; RUN: %lli_mcjit -extra-module=%p/Inputs/multi-module-b.ll -extra-module=%p/Inputs/multi-module-c.ll -enable-cache-manager %s
6 ; This line tests MCJIT object loading
7 ; RUN: %lli_mcjit -extra-object=%p/Inputs/multi-module-b.o -extra-object=%p/Inputs/multi-module-c.o %s
9 ; These lines put the object files into an archive
10 ; RUN: llvm-ar r %p/Inputs/load-object.a %p/Inputs/multi-module-b.o
11 ; RUN: llvm-ar r %p/Inputs/load-object.a %p/Inputs/multi-module-c.o
13 ; This line test MCJIT archive loading
14 ; RUN: %lli_mcjit -extra-archive=%p/Inputs/load-object.a %s
16 ; These lines clean up our temporary files
17 ; RUN: rm -f %p/Inputs/load-object-a.o
18 ; RUN: rm -f %p/Inputs/multi-module-b.o
19 ; RUN: rm -f %p/Inputs/multi-module-c.o
20 ; RUN: rm -f %p/Inputs/load-object.a
25 %r = call i32 @FB( ) ; <i32> [#uses=1]