Displaying 5 results from an estimated 5 matches for "legacyircompilelayer".
2019 Aug 13
2
VModuleKey K not valid here
...n attempting to remove a module.
/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h:311: llvm::Error
llvm::orc::LegacyCompileOnDemandLayer<BaseLayerT, CompileCallbackMgrT,
IndirectStubsMgrT>::removeModule(llvm::orc::VModuleKey) [with
BaseLayerT = llvm::orc::LegacyIRTransformLayer<llvm::orc::LegacyIRCompileLayer<llvm::orc::LegacyRTDyldObjectLinkingLayer,
llvm::orc::SimpleCompiler>,
std::function<std::unique_ptr<llvm::Module>(std::unique_ptr<llvm::Module>)>
>; CompileCallbackMgrT = llvm::orc::JITCompileCallbackManager;
IndirectStubsMgrT = llvm::orc::IndirectStubsManager;
llvm::orc...
2019 Jun 19
2
Questions about moving from MCJIT to Orc JIT
...I'm not sure, that I can use a JITDyLib to inject my own addresses for different functions, but I'm not sure how to do that - or if I'm correct with it.
3.) Legacy Layer
I later looked into the third Kaleidoscope Tutorial, seeing the "LegacyRTDyldObjectLinkingLayer" and "LegacyIRCompileLayer" - that looked promising!
But sadly the tutorial state that it was not updated yet to the new OrcJIT API - so... I have difficulties 'trusting' that tutorial. Does it mean, that those Legacy Layer will be removed soon? Or that you should not use them? The term legacy worries me actuall...
2019 Jan 04
2
Undefined symbols with inline functions using the ORC JIT on Linux
...rong definitions. Shouldn't functions defined in the jitted code be
our responsibility?
Looking closer what happens with the ResponsibiltySet. When it is created
it tries to to find symbols for all the names it knows about. Eventually
the look up request ends up in my application where I use a
LegacyIRCompileLayer to search for the symbol in the jitted module. That
function call eventually ends up in getSymbol in RTDyldObjectLinkingLayer.h
where the symbol is found but it does not have and address (Address is zero
and Flags is 50). So an instance of JITSymbol is returned to the
LegacyRTDyldObjectLinkingLayer...
2019 Jan 05
2
Undefined symbols with inline functions using the ORC JIT on Linux
...;t functions defined in the jitted code be
> our responsibility?
>
> Looking closer what happens with the ResponsibiltySet. When it is created
> it tries to to find symbols for all the names it knows about. Eventually
> the look up request ends up in my application where I use a
> LegacyIRCompileLayer to search for the symbol in the jitted module. That
> function call eventually ends up in getSymbol in RTDyldObjectLinkingLayer.h
> where the symbol is found but it does not have and address (Address is zero
> and Flags is 50). So an instance of JITSymbol is returned to the
> LegacyRTDy...
2019 Aug 13
2
VModuleKey K not valid here
...t;> /llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h:311: llvm::Error
>> llvm::orc::LegacyCompileOnDemandLayer<BaseLayerT, CompileCallbackMgrT,
>> IndirectStubsMgrT>::removeModule(llvm::orc::VModuleKey) [with
>> BaseLayerT = llvm::orc::LegacyIRTransformLayer<llvm::orc::LegacyIRCompileLayer<llvm::orc::LegacyRTDyldObjectLinkingLayer,
>> llvm::orc::SimpleCompiler>,
>> std::function<std::unique_ptr<llvm::Module>(std::unique_ptr<llvm::Module>)>
>> >; CompileCallbackMgrT = llvm::orc::JITCompileCallbackManager;
>> IndirectStubsMgrT = llvm::...