aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Path.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/Support/Path.cpp
parent33cc0cfd46779d7dcdea20b552f57be429f0547b (diff)
downloadllvm-fad05465c16f123567d40e7e5cbeea69aa6e5c91.zip
llvm-fad05465c16f123567d40e7e5cbeea69aa6e5c91.tar.gz
llvm-fad05465c16f123567d40e7e5cbeea69aa6e5c91.tar.bz2
[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/Support/Path.cpp')
0 files changed, 0 insertions, 0 deletions