blob: 5e0e2f434f7e553061e106f921fb85951a159730 [file] [log] [blame]
Nick Kledzikd5b690d2011-08-02 01:16:03 +00001//===-------------------------- 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 Kledzik1c839a92011-08-02 05:01:31 +000013#include "cxxabi.h"
14
Nick Kledzikd5b690d2011-08-02 01:16:03 +000015#ifdef __cplusplus
16extern "C" {
17#endif
18
Nick Kledzik1c839a92011-08-02 05:01:31 +000019extern LIBCXXABI_NORETURN
20 void abort_message(const char* format, ...)
21 __attribute__((format(printf, 1, 2)));
Nick Kledzikd5b690d2011-08-02 01:16:03 +000022
23
24#ifdef __cplusplus
25}
26#endif
27
28
29#endif
30