linux/arch: make longjmp'ing function noreturn
@@ -62,10 +62,9 @@ static __thread jmp_buf env;
HF_ATTR_NO_SANITIZE_ADDRESS
HF_ATTR_NO_SANITIZE_MEMORY
+__attribute__((noreturn))
static int arch_cloneFunc(void* arg HF_ATTR_UNUSED) {
longjmp(env, 1);
- abort();
- return 0;
}
/* Avoid problem with caching of PID/TID in glibc */
