diff options
author | Andrew Kaylor <andrew.kaylor@intel.com> | 2013-10-04 00:49:38 +0000 |
---|---|---|
committer | Andrew Kaylor <andrew.kaylor@intel.com> | 2013-10-04 00:49:38 +0000 |
commit | 1b2cfb6495c18d209f9b945283b789ece3958dc3 (patch) | |
tree | adfc3593fbbd22b5a59f4c3738c065493e542e9a /llvm/test/ExecutionEngine/MCJIT/remote/cross-module-a.ll | |
parent | 6feda287565d14b5b6ee71c22c983a9f8bf90f57 (diff) | |
download | bcm5719-llvm-1b2cfb6495c18d209f9b945283b789ece3958dc3.tar.gz bcm5719-llvm-1b2cfb6495c18d209f9b945283b789ece3958dc3.zip |
Adding support and tests for multiple module handling in lli
llvm-svn: 191938
Diffstat (limited to 'llvm/test/ExecutionEngine/MCJIT/remote/cross-module-a.ll')
-rw-r--r-- | llvm/test/ExecutionEngine/MCJIT/remote/cross-module-a.ll | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/llvm/test/ExecutionEngine/MCJIT/remote/cross-module-a.ll b/llvm/test/ExecutionEngine/MCJIT/remote/cross-module-a.ll new file mode 100644 index 00000000000..1e55d2d6a28 --- /dev/null +++ b/llvm/test/ExecutionEngine/MCJIT/remote/cross-module-a.ll @@ -0,0 +1,13 @@ +; RUN: %lli_mcjit -extra-modules=%p/cross-module-b.ir -disable-lazy-compilation=true -remote-mcjit -mcjit-remote-process=lli-child-target %s > /dev/null + +declare i32 @FB() + +define i32 @FA() { + ret i32 0 +} + +define i32 @main() { + %r = call i32 @FB( ) ; <i32> [#uses=1] + ret i32 %r +} + |