diff options
| author | Thiago Macieira <thiago.macieira@intel.com> | 2025-05-14 19:26:22 -0700 |
|---|---|---|
| committer | Thiago Macieira <thiago.macieira@intel.com> | 2025-05-25 13:24:27 -0700 |
| commit | 60f36b8d0274ce94ae0e2511df625118ce8f9076 (patch) | |
| tree | 0a59dcc141b2b358226ab12a7ec4278d0a068e4e /src/corelib/tools/qqueue.cpp | |
| parent | 33435ce5678c795ac099708bc5079f8fd5ff01eb (diff) | |
QTest::CrashHandler: extract the address of the crashing instruction
From the user and machine context provided in the signal handler.
Linux w/ GDB prints:
0x563bb2ab7346 <_ZN11tst_Crashes5crashEv+28>: movl $0x1,(%rax)
FreeBSD w/ LLDB prints:
(lldb) x/i 0x0000319a0ae86996
0x319a0ae86996: c7 40 04 01 00 00 00 other movl $0x1, 0x4(%rax)
macOS w/ LLDB prints (after disabling the check for SIP):
(lldb) x/i 0x00000001054086c8
0x1054086c8: movl $0x1, 0x4(%rax)
Done-With: Samuel Gaist
Done-With: Ivan Solovev
Change-Id: Iac02025b1922b6b4d927fffd3efe210ef51fc759
Reviewed-by: Ahmad Samir <a.samirh78@gmail.com>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Samuel Gaist <samuel.gaist@idiap.ch>
Diffstat (limited to 'src/corelib/tools/qqueue.cpp')
0 files changed, 0 insertions, 0 deletions
