search for: donothingonnotifyload

Displaying 10 results from an estimated 10 matches for "donothingonnotifyload".

2017 Mar 08
2
ORC C Interface & JITEventListeners
...optional, code to register a JIT event listener, but otherwise use the C API (that's what I currently do for perf support in MCJIT), but it doesn't look like that's an option with the ORC C bindings (RTDyldObjectLinkingLayer's integration is a class template parameter defaulting to DoNothingOnNotifyLoaded), and it's not used by OrcCBindingsStack. In addition, it doesn't currently look there's C API to force the mcjit replacement being used? Is there interest in addressing these issues, or is the position more generally that the C bindings aren't going to be useful enough? I'...
2015 Nov 23
2
COFF::IMAGE_REL_AMD64_REL32 relocation overflow when compiling for x86_64
...or<llvm::RelocationEntry,64> & Relocs, unsigned __int64 Value) Line 796 C++ llvm::RuntimeDyldImpl::resolveExternalSymbols() Line 849 C++ llvm::RuntimeDyldImpl::resolveRelocations() Line 95 C++ llvm::RuntimeDyld::resolveRelocations() Line 961 C++ llvm::orc::ObjectLinkingLayer<llvm::orc::DoNothingOnNotifyLoaded>::ConcreteLinkedObjectSet<std::shared_ptr<llvm::SectionMemoryManager>,ClangClasses::LLVMExecutionEngine::LinkingResolver * __ptr64>::Finalize() Line 112 C++ llvm::orc::ObjectLinkingLayer<llvm::orc::DoNothingOnNotifyLoaded>::findSymbolIn::__l19::<lambda>() Line 246 C++ s...
2015 Jul 23
2
[LLVMdev] ORC and relocations
...hat. An alternative it to pass a flag to orc::ObjectLinkingLayer constructor and orc::ObjectLinkingLayer::ConcreteLinkedObjectSet constructor to indicate whether relocation resolution should be performed. Would you be ok with such a change? Thanks, Eugene template <typename NotifyLoadedFtor = DoNothingOnNotifyLoaded> class ObjectLinkingLayer : public ObjectLinkingLayerBase { private: template <typename MemoryManagerPtrT, typename SymbolResolverPtrT> class ConcreteLinkedObjectSet : public LinkedObjectSet { public: ConcreteLinkedObjectSet(MemoryManagerPtrT MemMgr,...
2015 Nov 23
3
COFF::IMAGE_REL_AMD64_REL32 relocation overflow when compiling for x86_64
...ine 796 C++ > > llvm::RuntimeDyldImpl::resolveExternalSymbols() Line 849 C++ > > llvm::RuntimeDyldImpl::resolveRelocations() Line 95 C++ > > llvm::RuntimeDyld::resolveRelocations() Line 961 C++ > > llvm::orc::ObjectLinkingLayer<llvm::orc::DoNothingOnNotifyLoaded>::ConcreteLinkedObjectSet<std::shared_ptr<llvm::SectionMemoryManager>,ClangClasses::LLVMExecutionEngine::LinkingResolver > * __ptr64>::Finalize() Line 112 C++ > > llvm::orc::ObjectLinkingLayer<llvm::orc::DoNothingOnNotifyLoaded>::findSymbolIn::__l19::<la...
2015 Jul 23
0
[LLVMdev] ORC and relocations
...and > orc::ObjectLinkingLayer::ConcreteLinkedObjectSet constructor > > to indicate whether relocation resolution should be performed. Would you > be ok with such a change? > > > > Thanks, > > > > Eugene > > > > template <typename NotifyLoadedFtor = DoNothingOnNotifyLoaded> > > class ObjectLinkingLayer : public ObjectLinkingLayerBase { > > private: > > > > template <typename MemoryManagerPtrT, typename SymbolResolverPtrT> > > class ConcreteLinkedObjectSet : public LinkedObjectSet { > > public: > > Concret...
2015 Jul 23
2
[LLVMdev] ORC and relocations
...hat. An alternative it to pass a flag to orc::ObjectLinkingLayer constructor and orc::ObjectLinkingLayer::ConcreteLinkedObjectSet constructor to indicate whether relocation resolution should be performed. Would you be ok with such a change? Thanks, Eugene template <typename NotifyLoadedFtor = DoNothingOnNotifyLoaded> class ObjectLinkingLayer : public ObjectLinkingLayerBase { private: template <typename MemoryManagerPtrT, typename SymbolResolverPtrT> class ConcreteLinkedObjectSet : public LinkedObjectSet { public: ConcreteLinkedObjectSet(MemoryManagerPtrT MemMgr,...
2015 Jul 24
0
[LLVMdev] ORC and relocations
...and > orc::ObjectLinkingLayer::ConcreteLinkedObjectSet constructor > > to indicate whether relocation resolution should be performed. Would you > be ok with such a change? > > > > Thanks, > > > > Eugene > > > > template <typename NotifyLoadedFtor = DoNothingOnNotifyLoaded> > > class ObjectLinkingLayer : public ObjectLinkingLayerBase { > > private: > > > > template <typename MemoryManagerPtrT, typename SymbolResolverPtrT> > > class ConcreteLinkedObjectSet : public LinkedObjectSet { > > public: > > Concret...
2015 Jun 04
2
[LLVMdev] MCJit interface question
...ce question Which events do you need to listen to? The ObjectLinkingLayer that we're using has notifications when an object is loaded and when it is finalized. So I'd expect e.g. if you're listening to the loading event then you could create a functor class (with signature similar to DoNothingOnNotifyLoaded), put your logic in its operator() (changing to allow that you'll now be passed sets of Objects/LoadedObjectInfos), then change LLILCJit's LoaderT typedef to supply your functor type as the template argument and change the Loader constructor to supply an instance of the functor. From: Mi...
2015 Jun 04
2
[LLVMdev] MCJit interface question
Hi all, So I’m also working on LLILC. Specifically, I have been working on a JITEventListener to pass debug line info to the CoreCLR EE. With Joe’s change, I’ve lost the ability (or as far as I can tell) to attach an event listener. Is there a way within Orc to do the sorts of things that the JITEventListeners do in MCJIT? How would I go about adding a layer to add debugging support? Thanks,
2015 Jun 30
2
[LLVMdev] ORC and relocations
Hi Lang, Yes, I can return a non-zero marker value. Are you ok with this version? void RuntimeDyldImpl::resolveExternalSymbols() { while (!ExternalSymbolRelocations.empty()) { StringMap<RelocationList>::iterator i = ExternalSymbolRelocations.begin(); StringRef Name = i->first(); if (Name.size() == 0) { // This is an absolute symbol, use an address of zero.