InstallExceptionHandler

This commit is contained in:
Glenn Maynard
2004-12-01 02:45:14 +00:00
parent 494fb05a5c
commit fafdaedf0c
3 changed files with 57 additions and 0 deletions
@@ -7,6 +7,7 @@
#include "archutils/Unix/GetSysInfo.h"
#include "archutils/Unix/LinuxThreadHelpers.h"
#include "archutils/Unix/EmergencyShutdown.h"
#include "archutils/Unix/AssertionHandler.h"
#include <unistd.h>
#include "RageUtil.h"
#include <sys/time.h>
@@ -110,6 +111,8 @@ ArchHooks_Unix::ArchHooks_Unix()
* This might blow up, so be sure to do it after the crash handler. */
SignalHandler::OnClose( EmergencyShutdown );
InstallExceptionHandler();
#if defined(HAVE_TLS)
TestTLS();
#endif