libc: Call __builtin_trap() in abort() if all else fails
This commit is contained in:
parent
a772d92e6f
commit
c2f173f584
@ -117,9 +117,7 @@ extern "C"
|
||||
|
||||
raise(SIGABRT);
|
||||
|
||||
// There is no way we could end up here, unless there is some sort of race condition or the kernel decided to
|
||||
// change the default action for SIGABRT because it's a Tuesday.
|
||||
__builtin_unreachable();
|
||||
__builtin_trap();
|
||||
}
|
||||
|
||||
__noreturn void _Exit(int status)
|
||||
|
Loading…
Reference in New Issue
Block a user