Displaying 1 result from an estimated 1 matches for "_set_abort_handler".
2012 Jun 05
0
[LLVMdev] CrashRecoveryContext on Windows
..._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 CrashRecoveryContext? The handler can be
registered in Enable() and removed in Disable(), like it is done in the
POSIX implementation.
--
Thanks,
Justin Holewinski
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev...