Displaying 5 results from an estimated 5 matches for "linkedobjectset".
2015 Jul 23
2
[LLVMdev] ORC and relocations
...o skip this step below.
The only way I can see I can achieve that is by creating my own ObjectLinkingLayer that would duplicate almost all of orc::ObjectLinkingLayer.
I’d like to avoid that. 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 MemoryMa...
2015 Jul 23
0
[LLVMdev] ORC and relocations
...ly way I can see I can achieve that is by creating my own
> ObjectLinkingLayer that would duplicate almost all of
> orc::ObjectLinkingLayer.
>
> I’d like to avoid that. 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 ObjectLinking...
2015 Jul 23
2
[LLVMdev] ORC and relocations
...o skip this step below.
The only way I can see I can achieve that is by creating my own ObjectLinkingLayer that would duplicate almost all of orc::ObjectLinkingLayer.
I’d like to avoid that. 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 MemoryMa...
2015 Jul 24
0
[LLVMdev] ORC and relocations
...ly way I can see I can achieve that is by creating my own
> ObjectLinkingLayer that would duplicate almost all of
> orc::ObjectLinkingLayer.
>
> I’d like to avoid that. 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 ObjectLinking...
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.