[PATCH] D54439: CMake: Make most target symbols hidden by default

Louis Dionne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 11 07:36:24 PST 2019


ldionne added a comment.

In D54439#1740734 <https://reviews.llvm.org/D54439#1740734>, @ldionne wrote:

> In D54439#1722049 <https://reviews.llvm.org/D54439#1722049>, @tstellar wrote:
>
> > Rebase on trunk.
> >
> > The warnings are still present on OS X.  Here is a build log:
> >  https://github.com/tstellar/llvm-project/pull/11/checks?check_run_id=275366813
>
>
> @tstellar Can you add `_LIBCPP_INLINE_VISIBILITY` to `__call_once_proxy` and see whether that fixes the warning? I believe that is the correct fix, now that we don't use `always_inline` anymore to implement `_LIBCPP_INLINE_VISIBILITY`.
>
> I've added `_LIBCPP_INLINE_VISIBILITY` to `__call_once_proxy` locally and everything works, but I don't have your specific patch to test locally.


Note that I've applied that change in 48b7068beca9 <https://reviews.llvm.org/rG48b7068beca9d3a39dcfbebcb384b59b7898065f> regardless because I think it's good, but I'm still curious to know whether it'll fix your problems.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D54439





More information about the llvm-commits mailing list