B3.13 __attribute__((noreturn)) function attribute
This attribute asserts that a function never returns.
Usage
Use this attribute to reduce the cost of calling a function that never returns,
such as exit(). If a noreturn function returns to its caller, the behavior is
undefined.
Restrictions
The return address is not preserved when calling the noreturn function. This limits the ability of a debugger to display the call stack.
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.