[PATCH] D109426: [WebAssembly] Add explict TLS symbol flag

Sam Clegg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 8 02:50:08 PDT 2021


sbc100 created this revision.
Herald added subscribers: wingo, ecnelises, sunfish, hiraditya, jgravelle-google, dschuff.
sbc100 requested review of this revision.
Herald added subscribers: llvm-commits, aheejin.
Herald added a project: LLVM.

As before we maintain backwards compat with older object files
by also infering the TLS flag based on the name of the segment.

This change is was split out from https://reviews.llvm.org/D108877.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D109426

Files:
  lld/wasm/InputChunks.h
  lld/wasm/InputFiles.cpp
  lld/wasm/Relocations.cpp
  lld/wasm/Symbols.cpp
  lld/wasm/Symbols.h
  lld/wasm/Writer.cpp
  llvm/include/llvm/BinaryFormat/Wasm.h
  llvm/include/llvm/MC/MCSymbolWasm.h
  llvm/include/llvm/MC/MCWasmStreamer.h
  llvm/lib/MC/MCWasmStreamer.cpp
  llvm/lib/MC/WasmObjectWriter.cpp
  llvm/lib/ObjectYAML/WasmYAML.cpp
  llvm/test/MC/WebAssembly/tls.s
  llvm/test/MC/WebAssembly/tls64.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109426.371293.patch
Type: text/x-patch
Size: 15651 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210908/49c294d1/attachment.bin>


More information about the llvm-commits mailing list