Package org.lwjgl.llvm
Class ClangFatalErrorHandler
java.lang.Object
org.lwjgl.llvm.ClangFatalErrorHandler
Requires Clang 10 or higher.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classContains the function pointers loaded from the CLANGSharedLibrary. -
Method Summary
Modifier and TypeMethodDescriptionstatic voidInstalls error handler that prints error message tostderrand callsabort().static voidRemoves currently installed error handler (if any).static org.lwjgl.system.SharedLibraryReturns the CLANGSharedLibrary.
-
Method Details
-
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).
-