[all-commits] [llvm/llvm-project] fad054: [lld][WebAssembly] Handle TLS variables in Symbol:...
Sam Clegg via All-commits
all-commits at lists.llvm.org
Fri Oct 29 10:45:47 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fad05465c16f123567d40e7e5cbeea69aa6e5c91
https://github.com/llvm/llvm-project/commit/fad05465c16f123567d40e7e5cbeea69aa6e5c91
Author: Sam Clegg <sbc at chromium.org>
Date: 2021-10-29 (Fri, 29 Oct 2021)
Changed paths:
M lld/wasm/InputFiles.cpp
M lld/wasm/Symbols.cpp
Log Message:
-----------
[lld][WebAssembly] Handle TLS variables in Symbol::getVA. NFC
In the shared memory case we can always assume that TLS addresses
are relative to __tls_base. In the non-shared memory case TLS
variables are absolute, just like normal data addresses.
This simplifies the code in calcNewValue so that TLS relocations
no longer need special handling.
Differential Revision: https://reviews.llvm.org/D112831
More information about the All-commits
mailing list