![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
Classes | |
class | FatalSignalHandler |
Enumerations | |
enum | DebuggerProgram { None , Gdb , Lldb } |
Functions | |
static void | actionHandler (int signum, siginfo_t *info, void *) |
bool | alreadyDebugging () |
static bool | hasSystemCrashReporter () |
void | maybeDisableCoreDump () |
void | prepareStackTrace () |
void | printTestRunTime () |
static quintptr | getProgramCounter (void *ucontext) |
void | generateStackTrace (quintptr ip) |
void | blockUnixSignals () |
static std::string_view | unixSignalCodeToName (int signo, int code) noexcept |
template<typename T> | |
static std::enable_if_t< sizeof(std::declval< T >().si_pid)+sizeof(std::declval< T >().si_uid) >=1 > | printSentSignalInfo (T *info) |
static void | printSentSignalInfo (...) |
template<typename T> | |
static std::enable_if_t< sizeof(std::declval< T >().si_addr) >=1 > | printCrashingSignalInfo (T *info, quintptr pc) |
static void | printCrashingSignalInfo (...) |
static void | regularHandler (int signum) |
static auto | alternateStackSize () noexcept |
static LONG WINAPI | windowsFaultHandler (struct _EXCEPTION_POINTERS *exInfo) |
Variables | |
static Q_CONSTINIT OldActionsArray | oldActions {} |
static bool | pauseOnCrash = false |
static DebuggerProgram | debugger = None |
static DebuggerProgram | debugger = None |
Enumerator | |
---|---|
None | |
Gdb | |
Lldb |
Definition at line 30 of file qtestcrashhandler_p.h.
Definition at line 785 of file qtestcrashhandler_unix.cpp.
References pauseOnCrash, printSentSignalInfo(), and printTestRunTime().
Referenced by regularHandler().
bool QTest::CrashHandler::alreadyDebugging | ( | ) |
Definition at line 217 of file qtestcrashhandler_unix.cpp.
|
staticnoexcept |
Definition at line 727 of file qtestcrashhandler_unix.cpp.
|
inline |
Definition at line 492 of file qtestcrashhandler_unix.cpp.
Definition at line 407 of file qtestcrashhandler_unix.cpp.
References debugger.
Definition at line 368 of file qtestcrashhandler_unix.cpp.
|
static |
Definition at line 264 of file qtestcrashhandler_unix.cpp.
Referenced by prepareStackTrace().
void QTest::CrashHandler::maybeDisableCoreDump | ( | ) |
Definition at line 273 of file qtestcrashhandler_unix.cpp.
void QTest::CrashHandler::prepareStackTrace | ( | ) |
Definition at line 289 of file qtestcrashhandler_unix.cpp.
References hasSystemCrashReporter().
|
static |
Definition at line 666 of file qtestcrashhandler_unix.cpp.
|
static |
Definition at line 653 of file qtestcrashhandler_unix.cpp.
|
static |
Definition at line 650 of file qtestcrashhandler_unix.cpp.
Referenced by actionHandler().
|
static |
Definition at line 645 of file qtestcrashhandler_unix.cpp.
void QTest::CrashHandler::printTestRunTime | ( | ) |
Definition at line 358 of file qtestcrashhandler_unix.cpp.
Referenced by actionHandler().
|
static |
Definition at line 668 of file qtestcrashhandler_unix.cpp.
References actionHandler().
|
staticnoexcept |
Definition at line 506 of file qtestcrashhandler_unix.cpp.
|
static |
Definition at line 185 of file qtestcrashhandler_win.cpp.
|
static |
Definition at line 288 of file qtestcrashhandler_unix.cpp.
Referenced by generateStackTrace().
|
static |
Definition at line 36 of file qtestcrashhandler_win.cpp.
|
static |
Definition at line 212 of file qtestcrashhandler_unix.cpp.
|
static |
Definition at line 213 of file qtestcrashhandler_unix.cpp.
Referenced by actionHandler().