[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 01:03:32 PDT 2025
https://github.com/nikic commented:
I'm super confused by what you are doing here. Most of the symbols you are annotating here are not inline and shouldn't be affected by `-fvisibility-inlines-hidden`. Some of them have already been annotated as LLVM_ABI in the header (and some of them haven't because the annotation effort hasn't progressed to them yet). It sounds to me like you are actually building with `-fvisibilty=hidden`, which is not yet a supported configuration.
https://github.com/llvm/llvm-project/pull/146786
More information about the llvm-commits
mailing list