[llvm-dev] WEAK ALIASES ON DARWIN
Marcos Pividori via llvm-dev
llvm-dev at lists.llvm.org
Tue Jan 17 18:05:32 PST 2017
Hi,
I am working updating the code in compiler-rt. I would be really grateful
if someone could clarify if weak aliases are supported on Darwin. For
example:
As a pragma:
void fun_def(){}
#pragma weak fun = fun_def
Or as an attribute:
void fun_def(){}
void fun () __attribute__ ((weak, alias ("fun_def")));
Thanks,
Marcos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170117/2d2b2e1a/attachment.html>
More information about the llvm-dev
mailing list