summaryrefslogtreecommitdiffstats
path: root/llvm/tools/lli/OrcLazyJIT.h
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2016-08-02 21:00:40 +0000
committerLang Hames <lhames@gmail.com>2016-08-02 21:00:40 +0000
commit368c4223b8182fcdf87aa5c5d4a1487de1ccf654 (patch)
treedc9997484ec9e094843e8f0e3b6daf7f197114cc /llvm/tools/lli/OrcLazyJIT.h
parentdb4bc667afe6decb6486b8f2ea643e5579a7a112 (diff)
downloadbcm5719-llvm-368c4223b8182fcdf87aa5c5d4a1487de1ccf654.tar.gz
bcm5719-llvm-368c4223b8182fcdf87aa5c5d4a1487de1ccf654.zip
[lli] Add the ability for OrcLazyJIT to accept multiple input modules.
LLI already supported passing multiple input modules to MCJIT via the -extra-module option. This patch adds the plumbing to pass these modules to the OrcLazy JIT too. This functionality will be used in an upcoming test case for weak symbol handling. llvm-svn: 277521
Diffstat (limited to 'llvm/tools/lli/OrcLazyJIT.h')
-rw-r--r--llvm/tools/lli/OrcLazyJIT.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/tools/lli/OrcLazyJIT.h b/llvm/tools/lli/OrcLazyJIT.h
index 72f35ad6ab6..26be63de53e 100644
--- a/llvm/tools/lli/OrcLazyJIT.h
+++ b/llvm/tools/lli/OrcLazyJIT.h
@@ -156,7 +156,8 @@ private:
std::vector<orc::CtorDtorRunner<CODLayerT>> IRStaticDestructorRunners;
};
-int runOrcLazyJIT(std::unique_ptr<Module> M, int ArgC, char* ArgV[]);
+int runOrcLazyJIT(std::vector<std::unique_ptr<Module>> Ms, int ArgC,
+ char* ArgV[]);
} // end namespace llvm
OpenPOWER on IntegriCloud