aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorSunho Kim <ksunhokim123@gmail.com>2022-07-06 20:12:22 +0900
committerSunho Kim <ksunhokim123@gmail.com>2022-07-06 20:12:22 +0900
commit30b6c51f515e633d6a798ddb82d4591d597670e9 (patch)
tree69f7a18bd502754406605f0f269baed891e8917c /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent5d8077565e4196efdd4ed525a64c11a96d5aa5dd (diff)
downloadllvm-30b6c51f515e633d6a798ddb82d4591d597670e9.zip
llvm-30b6c51f515e633d6a798ddb82d4591d597670e9.tar.gz
llvm-30b6c51f515e633d6a798ddb82d4591d597670e9.tar.bz2
[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
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions