summaryrefslogtreecommitdiff
path: root/llvm/examples/HowToUseLLJIT/HowToUseLLJIT.cpp
AgeCommit message (Collapse)Author
2022-05-05[ORC] Return ExecutorAddrs rather than JITEvaluatedSymbols from LLJIT::lookup.Lang Hames
Clients don't care about linkage, and ExecutorAddr is much more ergonomic.
2021-01-25[NFC] Fix title comment typo and provide description for LLJIT example.xgupta
2020-07-23Fix implicit dependency on CommandLine.hSimon Pilgrim
2019-08-15[llvm] Migrate llvm::make_unique to std::make_uniqueJonas Devlieghere
Now that we've moved to C++14, we no longer need the llvm::make_unique implementation from STLExtras.h. This patch is a mechanical replacement of (hopefully) all the llvm::make_unique instances across the monorepo. llvm-svn: 369013
2019-07-10[ORC] Add custom IR compiler configuration to LLJITBuilder to enable obj caches.Lang Hames
LLJITBuilder now has a setCompileFunctionCreator method which can be used to construct a CompileFunction for the LLJIT instance being created. The motivating use-case for this is supporting ObjectCaches, which can now be set up at compile-function construction time. To demonstrate this an example project, LLJITWithObjectCache, is included. llvm-svn: 365671
2019-05-22Add a HowToUseLLJIT example project.Lang Hames
A very minimal demo of how to use the LLJIT class, along the lines of the old HowToUseJIT example. llvm-svn: 361435