[PATCH] D101271: [lld][WebAssembly] Add support for `--export-dynamic-symbol`

Sam Clegg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 25 17:19:43 PDT 2021


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

Unlike the existing `--export` option this will not causes errors
or warnings if the specified symbol is not defined.

This is an existing flag from GNU ld and lld ELF backend.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D101271

Files:
  lld/docs/WebAssembly.rst
  lld/test/wasm/export-dynamic-symbol.s
  lld/wasm/Config.h
  lld/wasm/Driver.cpp
  lld/wasm/Options.td
  lld/wasm/Writer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101271.340405.patch
Type: text/x-patch
Size: 5659 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210426/e7d94bae/attachment.bin>


More information about the llvm-commits mailing list