• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //===-------------------------- abort_message.h-----------------------------===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is dual licensed under the MIT and the University of Illinois Open
6 // Source Licenses. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 
10 #ifndef __ABORT_MESSAGE_H_
11 #define __ABORT_MESSAGE_H_
12 
13 #include <stdio.h>
14 
15 #pragma GCC visibility push(hidden)
16 
17 #ifdef __cplusplus
18 extern "C" {
19 #endif
20 
21 __attribute__((visibility("hidden"), noreturn))
22        void abort_message(const char* format, ...)
23             __attribute__((format(printf, 1, 2)));
24 
25 
26 #ifdef __cplusplus
27 }
28 #endif
29 
30 #pragma GCC visibility pop
31 
32 #endif
33 
34