Displaying 9 results from an estimated 9 matches for "relocationhandler".
2015 Feb 05
5
[LLVMdev] [lld] Representation of lld::Reference with a fake target
...et them as the
reference's target.
The problem is that these atoms are fake and should not go to the
symbol table.
One more problem is to select unique names for these atoms.
b) Use two high bits of lld::Reference::_kindValue field to encode
RSS_xxx value.
Then decode these bits in the RelocationHandler to calculate result
of relocation.
In that case the problem is how to represent a relocation kind
value in YAML format.
The simple xxxRelocationStringTable::kindStrings[] array will not satisfy us.
c) Add one more field to the lld::Reference class. Something like the
DefinedAtom::CodeModel...
2015 Feb 06
4
[LLVMdev] [lld] Representation of lld::Reference with a fake target
...roblem is that these atoms are fake and should not go to the
>> symbol table.
>> One more problem is to select unique names for these atoms.
>> b) Use two high bits of lld::Reference::_kindValue field to encode
>> RSS_xxx value.
>> Then decode these bits in the RelocationHandler to calculate result
>> of relocation.
>> In that case the problem is how to represent a relocation kind
>> value in YAML format.
>> The simple xxxRelocationStringTable::kindStrings[] array will not
>> satisfy us.
>> c) Add one more field to the lld::Refer...
2015 Feb 07
2
[LLVMdev] [lld] Representation of lld::Reference with a fake target
...rget.
> The problem is that these atoms are fake and should not go to the
> symbol table.
> One more problem is to select unique names for these atoms.
> b) Use two high bits of lld::Reference::_kindValue field to encode
> RSS_xxx value.
> Then decode these bits in the RelocationHandler to calculate result
> of relocation.
> In that case the problem is how to represent a relocation kind
> value in YAML format.
> The simple xxxRelocationStringTable::kindStrings[] array will not
> satisfy us.
> c) Add one more field to the lld::Reference class. Something li...
2015 Feb 07
2
[LLVMdev] [lld] Representation of lld::Reference with a fake target
...d not go to the
> >>> symbol table.
> >>> One more problem is to select unique names for these atoms.
> >>> b) Use two high bits of lld::Reference::_kindValue field to encode
> >>> RSS_xxx value.
> >>> Then decode these bits in the RelocationHandler to calculate result
> >>> of relocation.
> >>> In that case the problem is how to represent a relocation kind
> >>> value in YAML format.
> >>> The simple xxxRelocationStringTable::kindStrings[] array will not
> >>> satisfy us.
>...
2015 Feb 09
2
[LLVMdev] [lld] Representation of lld::Reference with a fake target
...tional data provided in the
> relocation record. That is why I asked the initial question in this
> thread. The current solution is to extend the `Reference` class and
> add one more attribute to it.
>
> The second problem is how to handle these three relocations. Now the
> `TargetRelocationHandler::applyRelocation()` method called one-by-one
> for each reference. That is not applied to the MIPS N64 ABI
> relocations. In that case we need to calculate the first one, save the
> result, calculate the second one using result from the first step,
> repeat that for the third relocation...
2015 Feb 07
4
[LLVMdev] [lld] Representation of lld::Reference with a fake target
...mbol table.
> >> >>> One more problem is to select unique names for these atoms.
> >> >>> b) Use two high bits of lld::Reference::_kindValue field to encode
> >> >>> RSS_xxx value.
> >> >>> Then decode these bits in the RelocationHandler to calculate
> >> >>> result
> >> >>> of relocation.
> >> >>> In that case the problem is how to represent a relocation kind
> >> >>> value in YAML format.
> >> >>> The simple xxxRelocationStringTable:...
2015 Feb 07
2
[LLVMdev] [lld] Representation of lld::Reference with a fake target
...> >> >>> One more problem is to select unique names for these atoms.
>> >> >>> b) Use two high bits of lld::Reference::_kindValue field to encode
>> >> >>> RSS_xxx value.
>> >> >>> Then decode these bits in the RelocationHandler to calculate
>> >> >>> result
>> >> >>> of relocation.
>> >> >>> In that case the problem is how to represent a relocation kind
>> >> >>> value in YAML format.
>> >> >>> The simple xxxRe...
2015 Feb 09
2
[LLVMdev] [lld] Representation of lld::Reference with a fake target
...ion record. That is why I asked the initial question in this
>>> thread. The current solution is to extend the `Reference` class and
>>> add one more attribute to it.
>>>
>>> The second problem is how to handle these three relocations. Now the
>>> `TargetRelocationHandler::applyRelocation()` method called one-by-one
>>> for each reference. That is not applied to the MIPS N64 ABI
>>> relocations. In that case we need to calculate the first one, save the
>>> result, calculate the second one using result from the first step,
>>> repe...
2015 Feb 07
2
[LLVMdev] [lld] Representation of lld::Reference with a fake target
...roblem is to select unique names for these atoms.
>>>> >> >>> b) Use two high bits of lld::Reference::_kindValue field to
>>>> encode
>>>> >> >>> RSS_xxx value.
>>>> >> >>> Then decode these bits in the RelocationHandler to calculate
>>>> >> >>> result
>>>> >> >>> of relocation.
>>>> >> >>> In that case the problem is how to represent a relocation
>>>> kind
>>>> >> >>> value in YAML format.
&g...