[PATCH] D73577: [compiler-rt] Build all alias in builtin as private external on Darwin

Dan Liew via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 28 13:45:31 PST 2020


delcypher added a comment.

@steven_wu I'm having difficultly understanding the description.

> For builtin compiler-rt, it is built with visibility hidden by default
>  to avoid the client exporting symbols from libclang static library.

You mean to avoid exporting symbols from the libclang_rt to the client, right?

> The compiler option doesn't work on the alias which is created with inline assembly.

What is "The compiler option"?  You mean the default visibility compiler option, right?

> On Darwin platform, thoses aliases are exported by default if
>  they are reference by the client.
>  Fix the issue by adding ".private_extern" to all the aliases on Darwin

It is really not obvious what "the issue" is here? Are you saying that the "On Darwin platform, thoses aliases are exported by default if they are reference by the client." behaviour is what is happening right now and that this behaviour is incorrect?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D73577





More information about the llvm-commits mailing list