B3.24 __attribute__((weakref("target"))) function
attribute
This function attribute marks a function declaration as an alias that does not by itself require a function definition to be given for the target symbol.
Syntax
__attribute__((weakref("target")))
Where target is the target
symbol.
Example
In the following example, foo() calls y() through
a weak reference:
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers of your data.