WEAK ALIASES ON DARWIN

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