Project Alice
Loading...
Searching...
No Matches
ErrorHandling.h
Go to the documentation of this file.
1/*===-- llvm-c/ErrorHandling.h - Error Handling C Interface -------*- C -*-===*\
2|* *|
3|* Part of the LLVM Project, under the Apache License v2.0 with LLVM *|
4|* Exceptions. *|
5|* See https://llvm.org/LICENSE.txt for license information. *|
6|* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception *|
7|* *|
8|*===----------------------------------------------------------------------===*|
9|* *|
10|* This file defines the C interface to LLVM's error handling mechanism. *|
11|* *|
12\*===----------------------------------------------------------------------===*/
13
14#ifndef LLVM_C_ERRORHANDLING_H
15#define LLVM_C_ERRORHANDLING_H
16
17#include "llvm-c/ExternC.h"
18
20
27typedef void (*LLVMFatalErrorHandler)(const char *Reason);
28
37
43
50
56
57#endif
#define LLVM_C_EXTERN_C_BEGIN
Definition: ExternC.h:35
#define LLVM_C_EXTERN_C_END
Definition: ExternC.h:36
void LLVMResetFatalErrorHandler(void)
void(* LLVMFatalErrorHandler)(const char *Reason)
Definition: ErrorHandling.h:27
void LLVMEnablePrettyStackTrace(void)
void LLVMInstallFatalErrorHandler(LLVMFatalErrorHandler Handler)