HDK
|
#include "pxr/pxr.h"
#include "pxr/base/arch/function.h"
#include "pxr/base/tf/diagnosticLite.h"
#include "pxr/base/tf/api.h"
Go to the source code of this file.
Functions | |
TF_API void | TfInstallTerminateAndCrashHandlers () |
Low-level utilities for informing users of various internal and external diagnostic conditions.
lib/tf supports a range of error-reporting routines.
For a more detailed explanation of when each of the facilities described in this file is appropriate, (and more importantly, when they're not!) see page_tf_Diagnostic.
Definition in file diagnostic.h.
(Re)install Tf's crash handler. This should not generally need to be called since Tf does this itself when loaded. However, when run in 3rd party environments that install their own signal handlers, possibly overriding Tf's, this provides a way to reinstall them, in hopes that they'll stick.
This calls std::set_terminate() and installs signal handlers for SIGSEGV, SIGBUS, SIGFPE, and SIGABRT.