summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2021-10-29 09:13:40 -0700
committerSam Clegg <sbc@chromium.org>2021-10-29 10:45:30 -0700
commitfad05465c16f123567d40e7e5cbeea69aa6e5c91 (patch)
treefbbfcb910985660499106ebf73b746e6620c4651 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent33cc0cfd46779d7dcdea20b552f57be429f0547b (diff)
[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
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions