| Nick Kledzik | d5b690d | 2011-08-02 01:16:03 +0000 | [diff] [blame] | 1 | //===-------------------------- abort_message.h-----------------------------===// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| 5 | // This file is distributed under the University of Illinois Open Source |
| 6 | // License. See LICENSE.TXT for details. |
| 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | |
| 10 | #ifndef __ABORT_MESSAGE_H_ |
| 11 | #define __ABORT_MESSAGE_H_ |
| 12 | |
| Nick Kledzik | 1c839a9 | 2011-08-02 05:01:31 +0000 | [diff] [blame^] | 13 | #include "cxxabi.h" |
| 14 | |
| Nick Kledzik | d5b690d | 2011-08-02 01:16:03 +0000 | [diff] [blame] | 15 | #ifdef __cplusplus |
| 16 | extern "C" { |
| 17 | #endif |
| 18 | |
| Nick Kledzik | 1c839a9 | 2011-08-02 05:01:31 +0000 | [diff] [blame^] | 19 | extern LIBCXXABI_NORETURN |
| 20 | void abort_message(const char* format, ...) |
| 21 | __attribute__((format(printf, 1, 2))); |
| Nick Kledzik | d5b690d | 2011-08-02 01:16:03 +0000 | [diff] [blame] | 22 | |
| 23 | |
| 24 | #ifdef __cplusplus |
| 25 | } |
| 26 | #endif |
| 27 | |
| 28 | |
| 29 | #endif |
| 30 | |