diff options
Diffstat (limited to 'test/ExecutionEngine/OrcJIT/remote/cross-module-a.ll')
-rw-r--r-- | test/ExecutionEngine/OrcJIT/remote/cross-module-a.ll | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/ExecutionEngine/OrcJIT/remote/cross-module-a.ll b/test/ExecutionEngine/OrcJIT/remote/cross-module-a.ll new file mode 100644 index 0000000..c315723 --- /dev/null +++ b/test/ExecutionEngine/OrcJIT/remote/cross-module-a.ll @@ -0,0 +1,12 @@ +; RUN: %lli -extra-module=%p/Inputs/cross-module-b.ll -disable-lazy-compilation=true -remote-mcjit -mcjit-remote-process=lli-child-target%exeext %s > /dev/null + +declare i32 @FB() + +define i32 @FA() nounwind { + ret i32 0 +} + +define i32 @main() nounwind { + %r = call i32 @FB( ) ; <i32> [#uses=1] + ret i32 %r +} |