X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/0a7de7458d150b5d4dffc935ba399be265ef0a1a..ea3f04195ba4a5034c9c8e9b726d4f7ce96f1832:/libsyscall/mach/abort.h?ds=sidebyside diff --git a/libsyscall/mach/abort.h b/libsyscall/mach/abort.h index d80b8d6c0..f9f4212b8 100644 --- a/libsyscall/mach/abort.h +++ b/libsyscall/mach/abort.h @@ -34,7 +34,7 @@ extern int __getpid(void); extern int __kill(int pid, int signum, int posix); extern int __exit(int) __attribute__((noreturn)); -static inline void __attribute__((noreturn)) +static inline void __attribute__((noreturn, cold)) abort(void) { (void)__kill(__getpid(), __SIGABRT, 0);