__builtin_longjmp and __builtin_setjmp Not Supported
Error Information
error: __builtin_longjmp is not supported for the current target
__builtin_longjmp (buf, 1);
^~~~~~~~~~~~~~~~~~~~~~~~~~
error: __builtin_setjmp is not supported for the current target
int r = __builtin_setjmp (buf);
^~~~~~~~~~~~~~~~~~~~~~
Problem
The AArch64 backend does not support built-in functions __builtin_longjmp and __builtin_setjmp.
Solution
- Use the setjmp or longjmp function in the standard library.
- To be supported.
Parent topic: Clang Compatibility Problems