1 //===-------------------------- abort_message.h-----------------------------===// 2 // 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4 // See https://llvm.org/LICENSE.txt for license information. 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6 // 7 //===----------------------------------------------------------------------===// 8 9 #ifndef __ABORT_MESSAGE_H_ 10 #define __ABORT_MESSAGE_H_ 11 12 #include "cxxabi.h" 13 14 #ifdef __cplusplus 15 extern "C" { 16 #endif 17 18 _LIBCXXABI_HIDDEN _LIBCXXABI_NORETURN void 19 abort_message(const char *format, ...) __attribute__((format(printf, 1, 2))); 20 21 #ifdef __cplusplus 22 } 23 #endif 24 25 #endif 26 27