[PATCH] D89152: [lld][WebAssembly] Add support for -Bsymbolic

Sam Clegg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 9 11:06:06 PDT 2020


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

This flag works in a similar way to the ELF linker in that it
will resolve any defined symbols to their local definition with
a shared library or -pie executable.

This flag has no effect on static linking.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D89152

Files:
  lld/test/wasm/bsymbolic.s
  lld/wasm/Config.h
  lld/wasm/Driver.cpp
  lld/wasm/Options.td
  lld/wasm/Relocations.cpp
  lld/wasm/SyntheticSections.cpp
  lld/wasm/SyntheticSections.h
  lld/wasm/Writer.cpp
  llvm/tools/llvm-readobj/WasmDumper.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89152.297283.patch
Type: text/x-patch
Size: 12108 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201009/46dc8c71/attachment.bin>


More information about the llvm-commits mailing list