Package org.lwjgl.llvm
Class ClangFatalErrorHandler
- java.lang.Object
-
- org.lwjgl.llvm.ClangFatalErrorHandler
-
public class ClangFatalErrorHandler extends java.lang.ObjectRequires Clang 10 or higher.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classClangFatalErrorHandler.FunctionsContains the function pointers loaded from the CLANGSharedLibrary.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidclang_install_aborting_llvm_fatal_error_handler()Installs error handler that prints error message tostderrand callsabort().static voidclang_uninstall_llvm_fatal_error_handler()Removes currently installed error handler (if any).static org.lwjgl.system.SharedLibrarygetLibrary()Returns the CLANGSharedLibrary.
-
-
-
Method Detail
-
getLibrary
public static org.lwjgl.system.SharedLibrary getLibrary()
Returns the CLANGSharedLibrary.
-
clang_install_aborting_llvm_fatal_error_handler
public static void clang_install_aborting_llvm_fatal_error_handler()
Installs error handler that prints error message tostderrand callsabort(). Replaces currently installed error handler (if any).
-
clang_uninstall_llvm_fatal_error_handler
public static void clang_uninstall_llvm_fatal_error_handler()
Removes currently installed error handler (if any).If no error handler is intalled, the default strategy is to print error message to
stderrand callexit(1).
-
-