[PATCH] D28596: [compiler-rt] General definition for weak functions.

Kuba (Brecka) Mracek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 17 19:36:36 PST 2017


kubabrecka added a comment.

In https://reviews.llvm.org/D28596#649126, @mpividori wrote:

> (I am using weak pragmas for linux: https://gcc.gnu.org/onlinedocs/gcc/Weak-Pragmas.html)
>
> So, in Windows we only have "weak aliases". In Linux, we have both, weak functions and weak aliases.
>  I would like to know which options we have in Darwin. If we can use weak aliases for Darwin, it would be simple, since we can use weak aliases for all the platforms.
>  If not, we need different approaches.


Weak aliases don't work on Darwin.


https://reviews.llvm.org/D28596





More information about the llvm-commits mailing list