[clang] [llvm] Add __attribute__((visibility("default"))) attribute to certain symbols to stop them being hidden when linking clangInterpreter library to other libraries during Emscripten build (PR #146786)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 3 02:18:56 PDT 2025
nikic wrote:
> Also, this is separate to the issue to making a Windows Shared library issue here #109483 (this purely based on your comment that ' the annotation effort hasn't progressed to them yet')
That same work also enables building libLLVM/libclang with `-fvisibilty=hidden`, which it sounds like what you are actually doing, and which is currently not a supported configuration. (At least going by your comment that `-fvisibility=default` works, which should already be the implicit default.)
https://github.com/llvm/llvm-project/pull/146786
More information about the llvm-commits
mailing list