HomePhabricator

[lld][WebAssembly] Disallow exporting of TLS symbols

Authored by sbc100 on May 6 2021, 8:29 PM.

Description

[lld][WebAssembly] Disallow exporting of TLS symbols

Cross module TLS is currently not supported by our ABI. This
change makes explicitly exporting a TLS symbol into an error
and prevents implicit exporting (via --export-all).

See https://github.com/emscripten-core/emscripten/issues/14120

Differential Revision: https://reviews.llvm.org/D102044

Details

Committed
sbc100May 10 2021, 9:58 AM
Differential Revision
D102044: [lld][WebAssembly] Disallow exporting of TLS symbols
Parents
rGf44c6f20f5e9: [cmake] Enable -Wmisleading-indentation
Branches
Unknown
Tags
Unknown