[PATCH] D126491: [lld][WebAssembly] Avoid importing/exporting hidden symbols in shared libraries

Sam Clegg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 26 13:20:04 PDT 2022


sbc100 marked an inline comment as done.
sbc100 added a comment.

In D126491#3540946 <https://reviews.llvm.org/D126491#3540946>, @dschuff wrote:

> what happens when you use attribute(export-name) in clang, along with -fvisibility=hidden? (or is there some other way force an export?)

`attribute(export-name)`  will be honored whenever a symbol is exported.

hidden symbols can indeed be exported explicitly via `--export` on the command line.  Not sure if that is good or a bad thing.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D126491/new/

https://reviews.llvm.org/D126491



More information about the llvm-commits mailing list