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

Marcos Pividori via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 17 18:22:06 PST 2017


mpividori added a comment.

(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.


https://reviews.llvm.org/D28596





More information about the llvm-commits mailing list