llvm-project/compiler-rt/test/orc
Sunho Kim 30b6c51f51 [ORC][ORC_RT][AArch64] Implement TLS descriptor in ELFNixPlatform.
Implements TLS descriptor relocations in JITLink ELF/AARCH64 backend and support the relevant runtime functions in ELFNixPlatform.

Unlike traditional TLS model, TLS descriptor model requires linker to return the "offset" from thread pointer via relocaiton not the actual pointer to thread local variable. There is no public libc api for adding new allocations to TLS block dynamically which thread pointer points to. So, we support this by taking delta from thread base pointer to the actual thread local variable in our allocated section.

Reviewed By: lhames

Differential Revision: https://reviews.llvm.org/D128601
2022-07-06 20:12:22 +09:00
..
TestCases [ORC][ORC_RT][AArch64] Implement TLS descriptor in ELFNixPlatform. 2022-07-06 20:12:22 +09:00
CMakeLists.txt [ORC-RT] Add target dependencies to ORC-RT regression tests. 2021-09-28 22:08:47 -07:00
lit.cfg.py [ORC][ORC_RT] Integrate ORC platforms with LLJIT and lli 2022-06-09 22:47:58 -07:00
lit.site.cfg.py.in [ORC-RT][ORC] Handle dynamic unwind registration for libunwind 2022-05-06 14:00:29 -07:00