blob: e8f9571cb56e20861135bf9827a4daf0e3ccd163 [file] [log] [blame]
Nick Kledzikd5b690d2011-08-02 01:16:03 +00001//===-------------------------- abort_message.h-----------------------------===//
2//
3// The LLVM Compiler Infrastructure
4//
Howard Hinnant987afbe2011-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 Kledzikd5b690d2011-08-02 01:16:03 +00007//
8//===----------------------------------------------------------------------===//
9
10#ifndef __ABORT_MESSAGE_H_
11#define __ABORT_MESSAGE_H_
12
Shoaib Meenaife989a92017-03-01 03:55:57 +000013#include "cxxabi.h"
Howard Hinnanteaa65af2012-02-02 20:47:28 +000014
Howard Hinnant0d517a42012-01-24 19:58:25 +000015#ifdef __cplusplus
Nick Kledzikd5b690d2011-08-02 01:16:03 +000016extern "C" {
17#endif
18
Shoaib Meenaife989a92017-03-01 03:55:57 +000019_LIBCXXABI_HIDDEN _LIBCXXABI_NORETURN void
20abort_message(const char *format, ...) __attribute__((format(printf, 1, 2)));
Nick Kledzikd5b690d2011-08-02 01:16:03 +000021
22#ifdef __cplusplus
23}
24#endif
25
Nick Kledzikd5b690d2011-08-02 01:16:03 +000026#endif
27