1 //===-------------------------- abort_message.h-----------------------------===// 2 // 3 // The LLVM Compiler Infrastructure 4 // 5 // This file is dual licensed under the MIT and the University of Illinois Open 6 // Source Licenses. See LICENSE.TXT for details. 7 // 8 //===----------------------------------------------------------------------===// 9 10 #ifndef __ABORT_MESSAGE_H_ 11 #define __ABORT_MESSAGE_H_ 12 13 #include "cxxabi.h" 14 15 #ifdef __cplusplus 16 extern "C" { 17 #endif 18 19 _LIBCXXABI_HIDDEN _LIBCXXABI_NORETURN void 20 abort_message(const char *format, ...) __attribute__((format(printf, 1, 2))); 21 22 #ifdef __cplusplus 23 } 24 #endif 25 26 #endif 27 28