search for: codlayer

Displaying 3 results from an estimated 3 matches for "codlayer".

Did you mean: cdplayer
2019 Aug 13
2
VModuleKey K not valid here
...e a valid VModuleKey? How can one reliably detect an invalid VModuleKey? > > > I believe 0 was a valid VModuleKey in ORCv1. The assertion is checking the the VModuleKey is present in the LogicalDylibs map. That means that you have to have used that key in an addModule call, e.g.: > > CODLayer.addModule(K, std::move(M)); > > and not subsequently removed the key with a call to removeModule. Yes indeed that is what happened. So to prevent that I need to check if VModuleKey was ever initialized ... how do I do that? I would have to have to add another flag to track the initialized st...
2019 Aug 13
2
VModuleKey K not valid here
Hi, I am getting following assertion failure when 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 =
2017 Aug 24
1
Invalid Signature of orc::RTDyldObjectLinkingLayer::NotifyLoadedFtor
...const llvm::orc::RTDyldObjectLinkingLayerBase::ObjectPtr &obj, +                     const llvm::RuntimeDyld::LoadedObjectInfo &info) { +              }),          CompileLayer(ObjectLayer, orc::SimpleCompiler(*this->TM)),          IRDumpLayer(CompileLayer, createDebugDumper()),          CODLayer(IRDumpLayer, extractSingleFunction, *this->CCMgr, Diagnostic message: error: no matching constructor for initialization of 'ObjLayerT' (aka 'llvm::orc::RTDyldObjectLinkingLayer')         ObjectLayer([]() { return std::make_shared<SectionMemoryManager>(); },         ^      ...