<div dir="ltr"><div dir="ltr"><div dir="ltr">I've been using ORC jit based off the Kaleidoscope tutorials successfully on Linux and OS X.  However when I tried to move to windows I'm having troubles.<br><br><div>Following the advice here, <a href="http://lists.llvm.org/pipermail/llvm-dev/2019-January/128812.html">http://lists.llvm.org/pipermail/llvm-dev/2019-January/128812.html</a>, I added:</div><div>ObjectLayer.setAutoClaimResponsibilityForObjectSymbols( true );<br></div><div>                             ObjectLayer.setOverrideObjectFlagsWithResponsibilityFlags( true );<br></div><div><br></div><div>I'm JITTing multiple functions in a loop.</div><div>I create the Module and lookup the first function just fine using the following code from the tutorial.</div><div dir="ltr"><br></div>llvm::cantFail( jit->addModule(std::move(mModule)));<br><div>auto ExprSymbol = jit->lookup( func_name.c_str( ));</div><div><br></div><div>When I go to lookup the second function I'm jitting, I get the following error:<br></div><div>JIT session error: Duplicate definition of symbol '__real@3ff0000000000000'<br></div><div><br></div><div>Any pointers or help would be appreciated,</div><div><br></div><div>Kevin</div><div><br></div><div><br></div></div></div></div>