Nick Kledzik | 23171dd | 2011-08-02 01:16:03 +0000 | [diff] [blame] | 1 | //===-------------------------- abort_message.h-----------------------------===// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
Howard Hinnant | b9f2cc8 | 2011-12-06 18:01:47 +0000 | [diff] [blame] | 5 | // This file is dual licensed under the MIT and the University of Illinois Open |
| 6 | // Source Licenses. See LICENSE.TXT for details. |
Nick Kledzik | 23171dd | 2011-08-02 01:16:03 +0000 | [diff] [blame] | 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | |
| 10 | #ifndef __ABORT_MESSAGE_H_ |
| 11 | #define __ABORT_MESSAGE_H_ |
| 12 | |
Shoaib Meenai | 54227ae | 2017-03-01 03:55:57 +0000 | [diff] [blame] | 13 | #include "cxxabi.h" |
Howard Hinnant | 0240685 | 2012-02-02 20:47:28 +0000 | [diff] [blame] | 14 | |
Howard Hinnant | c632c50 | 2012-01-24 19:58:25 +0000 | [diff] [blame] | 15 | #ifdef __cplusplus |
Nick Kledzik | 23171dd | 2011-08-02 01:16:03 +0000 | [diff] [blame] | 16 | extern "C" { |
| 17 | #endif |
| 18 | |
Shoaib Meenai | 54227ae | 2017-03-01 03:55:57 +0000 | [diff] [blame] | 19 | _LIBCXXABI_HIDDEN _LIBCXXABI_NORETURN void |
| 20 | abort_message(const char *format, ...) __attribute__((format(printf, 1, 2))); |
Nick Kledzik | 23171dd | 2011-08-02 01:16:03 +0000 | [diff] [blame] | 21 | |
| 22 | #ifdef __cplusplus |
| 23 | } |
| 24 | #endif |
| 25 | |
Nick Kledzik | 23171dd | 2011-08-02 01:16:03 +0000 | [diff] [blame] | 26 | #endif |
| 27 | |