summaryrefslogtreecommitdiffstats
path: root/src/testlib/qtestcrashhandler_win.cpp
diff options
context:
space:
mode:
authorThiago Macieira <[email protected]>2025-05-14 18:51:11 -0700
committerThiago Macieira <[email protected]>2025-05-25 13:24:27 -0700
commit33435ce5678c795ac099708bc5079f8fd5ff01eb (patch)
tree8ad466d4173db4be8b0551ca4ceccab735e98ccb /src/testlib/qtestcrashhandler_win.cpp
parent4fcd8546573ddc0b933378f7aa8530103cf76910 (diff)
QTest::CrashHandler: prepare to disassemble the crashing instruction
This is the infrastructure code, without actually getting the instruction pointer from the machine context. Change-Id: Iadd2c78913b2d0177949fffdeafa12e9fc3daf87 Reviewed-by: Edward Welbourne <[email protected]>
Diffstat (limited to 'src/testlib/qtestcrashhandler_win.cpp')
-rw-r--r--src/testlib/qtestcrashhandler_win.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/testlib/qtestcrashhandler_win.cpp b/src/testlib/qtestcrashhandler_win.cpp
index 62c6909f9c7..8b02bd39662 100644
--- a/src/testlib/qtestcrashhandler_win.cpp
+++ b/src/testlib/qtestcrashhandler_win.cpp
@@ -57,12 +57,13 @@ void printTestRunTime()
name ? name : "[Non-test]", msecsFunctionTime, msecsTotalTime);
}
-void generateStackTrace()
+void generateStackTrace(quintptr ip)
{
if (debugger == None || alreadyDebugging())
return;
// ### Implement starting a debugger on Windows
+ Q_UNUSED(ip);
}
void blockUnixSignals()