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 | b868e9101c138016aad5bd910b67f40a3213d6fc (patch) | |
tree | b05a180526bddc492c2860fc27dfecb3215995c5 /test/ExecutionEngine/MCJIT/multi-module-a.ll | |
parent | 7c9659a3b297be6298ffae4656b86797295c5d58 (diff) | |
download | llvm-b868e9101c138016aad5bd910b67f40a3213d6fc.tar.gz llvm-b868e9101c138016aad5bd910b67f40a3213d6fc.tar.bz2 llvm-b868e9101c138016aad5bd910b67f40a3213d6fc.tar.xz |
Adding support and tests for multiple module handling in lli
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191938 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/ExecutionEngine/MCJIT/multi-module-a.ll')
-rw-r--r-- | test/ExecutionEngine/MCJIT/multi-module-a.ll | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/ExecutionEngine/MCJIT/multi-module-a.ll b/test/ExecutionEngine/MCJIT/multi-module-a.ll new file mode 100644 index 0000000000..9c6de8dd8b --- /dev/null +++ b/test/ExecutionEngine/MCJIT/multi-module-a.ll @@ -0,0 +1,9 @@ +; RUN: %lli_mcjit -extra-modules=%p/multi-module-b.ir,%p/multi-module-c.ir %s > /dev/null + +declare i32 @FB() + +define i32 @main() { + %r = call i32 @FB( ) ; <i32> [#uses=1] + ret i32 %r +} + |