[PATCH] D105466: [RuntimeDyld] Implemented relocation of TLS symbols in ELF

Lang Hames via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 17 22:27:38 PDT 2021


lhames added a comment.

Hi Moritz,

I'm very sorry that I did not see this earlier -- this is really interesting stuff!

Have you looked at JITLink for x86-64 yet? I think it might be better suited to this. Between JITLink and the just-landed (e256445bfff1 <https://reviews.llvm.org/rGe256445bfff12013c3c4ad97da4aa69d25b175b5>) ELFNixPlatform code I think that you could get full cross-process (and even cross-architecture) TLV working, similar to what we have on Darwin / MachO.

We can still discuss this going in to RuntimeDyld in the short term if you particularly need / want it, but the aim is to deprecate and eventually remove RuntimeDyld, so implementing this in JITLink would be the strongly preferred approach if possible.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D105466/new/

https://reviews.llvm.org/D105466



More information about the llvm-commits mailing list