summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/ExecutionEngine
diff options
context:
space:
mode:
authorElena Demikhovsky <elena.demikhovsky@intel.com>2014-08-21 07:01:55 +0000
committerElena Demikhovsky <elena.demikhovsky@intel.com>2014-08-21 07:01:55 +0000
commit08f8596cc0b2d14603975b6dda3332db53134f50 (patch)
treef4545a6146c167286e3a997504dc2c01bfa185c2 /llvm/unittests/ExecutionEngine
parent71b7b68b741a29c473479c64dbaca00b94e316ab (diff)
downloadbcm5719-llvm-08f8596cc0b2d14603975b6dda3332db53134f50.tar.gz
bcm5719-llvm-08f8596cc0b2d14603975b6dda3332db53134f50.zip
IntelJITEventListener updates to fix breaks by recent changes to EngineBuilder and DIContext.
By Arch Robison. llvm-svn: 216159
Diffstat (limited to 'llvm/unittests/ExecutionEngine')
-rw-r--r--llvm/unittests/ExecutionEngine/JIT/JITEventListenerTestCommon.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/ExecutionEngine/JIT/JITEventListenerTestCommon.h b/llvm/unittests/ExecutionEngine/JIT/JITEventListenerTestCommon.h
index 61220f545f9..2af688c777e 100644
--- a/llvm/unittests/ExecutionEngine/JIT/JITEventListenerTestCommon.h
+++ b/llvm/unittests/ExecutionEngine/JIT/JITEventListenerTestCommon.h
@@ -66,7 +66,7 @@ public:
JITEventListenerTestBase(WrapperT* w)
: MockWrapper(w)
, M(new llvm::Module("module", llvm::getGlobalContext()))
- , EE(llvm::EngineBuilder(M)
+ , EE(llvm::EngineBuilder(std::unique_ptr<llvm::Module>(M))
.setEngineKind(llvm::EngineKind::JIT)
.setOptLevel(llvm::CodeGenOpt::None)
.create())
OpenPOWER on IntegriCloud