blob: e8f9571cb56e20861135bf9827a4daf0e3ccd163 [file] [log] [blame]
Nick Kledzik23171dd2011-08-02 01:16:03 +00001//===-------------------------- abort_message.h-----------------------------===//
2//
3// The LLVM Compiler Infrastructure
4//
Howard Hinnantb9f2cc82011-12-06 18:01:47 +00005// This file is dual licensed under the MIT and the University of Illinois Open
6// Source Licenses. See LICENSE.TXT for details.
Nick Kledzik23171dd2011-08-02 01:16:03 +00007//
8//===----------------------------------------------------------------------===//
9
10#ifndef __ABORT_MESSAGE_H_
11#define __ABORT_MESSAGE_H_
12
Shoaib Meenai54227ae2017-03-01 03:55:57 +000013#include "cxxabi.h"
Howard Hinnant02406852012-02-02 20:47:28 +000014
Howard Hinnantc632c502012-01-24 19:58:25 +000015#ifdef __cplusplus
Nick Kledzik23171dd2011-08-02 01:16:03 +000016extern "C" {
17#endif
18
Shoaib Meenai54227ae2017-03-01 03:55:57 +000019_LIBCXXABI_HIDDEN _LIBCXXABI_NORETURN void
20abort_message(const char *format, ...) __attribute__((format(printf, 1, 2)));
Nick Kledzik23171dd2011-08-02 01:16:03 +000021
22#ifdef __cplusplus
23}
24#endif
25
Nick Kledzik23171dd2011-08-02 01:16:03 +000026#endif
27