#include "llvm/ExecutionEngine/JITEventListener.h"
+#include "llvm/LLVMContext.h"
#include "llvm/Instructions.h"
#include "llvm/Module.h"
#include "llvm/ModuleProvider.h"
class JITEventListenerTest : public testing::Test {
protected:
JITEventListenerTest()
- : M(new Module("module")),
+ : M(new Module("module", new LLVMContext())),
EE(ExecutionEngine::createJIT(new ExistingModuleProvider(M))) {
}