[all-commits] [llvm/llvm-project] a0495e: [lld][WebAssembly] Apply relocations to TLS data
Sam Clegg via All-commits
all-commits at lists.llvm.org
Tue Jan 31 15:51:44 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a0495e6b008c7b1f5af2d0756bf62aefdc6a43ea
https://github.com/llvm/llvm-project/commit/a0495e6b008c7b1f5af2d0756bf62aefdc6a43ea
Author: Sam Clegg <sbc at chromium.org>
Date: 2023-01-31 (Tue, 31 Jan 2023)
Changed paths:
A lld/test/wasm/tls-relocations.s
M lld/test/wasm/tls.s
M lld/wasm/InputChunks.cpp
M lld/wasm/Symbols.cpp
M lld/wasm/Symbols.h
M lld/wasm/Writer.cpp
Log Message:
-----------
[lld][WebAssembly] Apply relocations to TLS data
This is only needed in the case of dynamic linking and pthreads.
Previously these relocations were simply not being applied.
Verified that this works using a more real world emscripten test:
https://github.com/emscripten-core/emscripten/pull/18641
Differential Revision: https://reviews.llvm.org/D143020
More information about the All-commits
mailing list