search for: _write_abort_msg

Displaying 1 result from an estimated 1 matches for "_write_abort_msg".

2012 Jun 05
0
[LLVMdev] CrashRecoveryContext on Windows
...&Reason) { std::cerr << "Caught LLVM ERROR: " << Reason << "\n"; abort(); // Chains to win_abort_handler on Windows } int main() { install_fatal_error_handler(handle_llvm_crash, NULL); signal(SIGABRT, win_abort_handler); _set_abort_behavior(0, _WRITE_ABORT_MSG | _CALL_REPORTFAULT); llvm_start_multithreaded(); ContextRecoveryContext::Enable(); // "safe" calls with RunSafely() ContextRecoveryContext::Disable(); return 0; } Do you think it is a good idea to fold the abort signal handler and signal/_set_abort_handler into CrashRecove...