[LLVMdev] TLS with MCJIT (an experimental patch)

Rafael EspĂ­ndola rafael.espindola at gmail.com
Wed May 22 06:42:15 PDT 2013


On 22 May 2013 09:37, David Chisnall <David.Chisnall at cl.cam.ac.uk> wrote:
> On 22 May 2013, at 14:28, Rafael EspĂ­ndola <rafael.espindola at gmail.com> wrote:
>
>>  I wouldn't be surprised if
>> these relocations are not implemented yet, but that should be all that
>> is needed to get tls working.
>
> That was, indeed, where this discussion started.  Andrew's suggestion was to use the small code model, in the hope that this would fix some things.  The lack of support for these relocations is what is stopping my code from working with MCJIT, and your removal of EH is stopping it working with the legacy JIT.


Well, these relocations are there because of the general dynamic tls
model, so they would be present on all code models.

Cheers,
Rafael




More information about the llvm-dev mailing list