#include "llvm/ADT/StringMap.h"
#include "llvm/ExecutionEngine/ObjectCache.h"
#include "llvm/ExecutionEngine/Orc/LLJIT.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/IRBuilder.h"
#include "llvm/IR/Module.h"
#include "llvm/Support/InitLLVM.h"
#include "llvm/Support/TargetSelect.h"
#include "llvm/Support/raw_ostream.h"
#include "../ExampleModules.h"
usingnamespacellvm;
usingnamespacellvm::orc;
ExitOnError ExitOnErr;
class MyObjectCache : public ObjectCache { … };
void runJITWithCache(ObjectCache &ObjCache) { … }
int main(int argc, char *argv[]) { … }