[all-commits] [llvm/llvm-project] bda8b8: [lld][WebAssembly] Disallow exporting of TLS symbols

Sam Clegg via All-commits all-commits at lists.llvm.org
Mon May 10 10:06:04 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bda8b8488442215e0557a53016a8d9c0a36b90c5
      https://github.com/llvm/llvm-project/commit/bda8b8488442215e0557a53016a8d9c0a36b90c5
  Author: Sam Clegg <sbc at chromium.org>
  Date:   2021-05-10 (Mon, 10 May 2021)

  Changed paths:
    A lld/test/wasm/tls-export.s
    M lld/wasm/InputChunks.h
    M lld/wasm/InputFiles.cpp
    M lld/wasm/OutputSegment.h
    M lld/wasm/Relocations.cpp
    M lld/wasm/Symbols.cpp
    M lld/wasm/Symbols.h
    M lld/wasm/Writer.cpp

  Log Message:
  -----------
  [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




More information about the All-commits mailing list