diff --git a/lib/Interpreter/IncrementalJIT.cpp b/lib/Interpreter/IncrementalJIT.cpp index ad156b9e..658b6e74 100644 --- a/lib/Interpreter/IncrementalJIT.cpp +++ b/lib/Interpreter/IncrementalJIT.cpp @@ -478,6 +478,7 @@ IncrementalJIT::IncrementalJIT( ErrorAsOutParameter _(&Err); LLJITBuilder Builder; + Builder.setDataLayout(m_TM->createDataLayout()); Builder.setExecutorProcessControl(std::move(EPC)); // Create ObjectLinkingLayer with our own MemoryManager.