| Nick Kledzik | d5b690d | 2011-08-02 01:16:03 +0000 | [diff] [blame] | 1 | //===-------------------------- abort_message.h-----------------------------===// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| Howard Hinnant | 987afbe | 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 | d5b690d | 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 | fe989a9 | 2017-03-01 03:55:57 +0000 | [diff] [blame] | 13 | #include "cxxabi.h" |
| Howard Hinnant | eaa65af | 2012-02-02 20:47:28 +0000 | [diff] [blame] | 14 | |
| Howard Hinnant | 0d517a4 | 2012-01-24 19:58:25 +0000 | [diff] [blame] | 15 | #ifdef __cplusplus |
| Nick Kledzik | d5b690d | 2011-08-02 01:16:03 +0000 | [diff] [blame] | 16 | extern "C" { |
| 17 | #endif |
| 18 | |
| Shoaib Meenai | fe989a9 | 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 | d5b690d | 2011-08-02 01:16:03 +0000 | [diff] [blame] | 21 | |
| 22 | #ifdef __cplusplus |
| 23 | } |
| 24 | #endif |
| 25 | |
| Nick Kledzik | d5b690d | 2011-08-02 01:16:03 +0000 | [diff] [blame] | 26 | #endif |
| 27 | |