diff options
Diffstat (limited to 'sysdeps/nacl/_exit.c')
-rw-r--r-- | sysdeps/nacl/_exit.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/nacl/_exit.c b/sysdeps/nacl/_exit.c index 0ec902f9ea..6006e26e55 100644 --- a/sysdeps/nacl/_exit.c +++ b/sysdeps/nacl/_exit.c @@ -24,6 +24,9 @@ void _exit (int status) { __nacl_irt_basic.exit (status); + + /* That never returns unless something is severely and unrecoverably wrong. + If it ever does, try to make sure we crash. */ while (1) __builtin_trap (); } |