[llvm-dev] TLS in RuntimeDyld / Linux x86_64

Joerg Sonnenberger via llvm-dev llvm-dev at lists.llvm.org
Sun Sep 17 16:09:37 PDT 2017


On Fri, Sep 15, 2017 at 08:25:08AM +0200, Axel Naumann via llvm-dev wrote:
> We're really missing TLS in the JIT on Linux / x86_64.
> 
> I'm not expert enough on x86_64 relocs to solve this one (I tried). Is
> there anyone out there who might be able to help?

The problem is so much the relocations. There is no generic interface
for registering a "fake" module with the dynamic linker for obtaining
the normal TLS binding or forcing a resolution of a given existing
(external) symbol.

Joerg


More information about the llvm-dev mailing list