qt6-bb10/tests/auto/corelib/global
Thiago Macieira 03f1ea3dcb tst_qmessagehandler: disable the backtrace tests outside of x86
As the comment says, on most RISC platforms, the return address need not
be on the stack in the first place. In fact, in all ones currently
supported by Qt, it's passed in a register to the callee, which has the
option of simply saving it in a callee-save register when calling leaf
functions. Even if it is using a frame pointer, the compiler can simply
use any register. That means unwinding the stack is not possible in the
absence of either debug information or stack-unwind information, neither
of which backtrace(3) will use.

Strictly speaking, even on x86 the compiler can use the RBP register for
any purpose and thus make getting the backtrace() impossible, but in
practice it seems to work.

Fixes: QTBUG-121389
Pick-to: 6.7
Change-Id: I5dd50a1a7ca5424d9e7afffd17acbd01ef916f5d
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2024-02-26 23:29:39 -08:00
..
q20 Change license for tests files 2024-02-04 09:56:42 +01:00
q_func_info Change license for tests files 2024-02-04 09:56:42 +01:00
qcompare Change license for tests files 2024-02-04 09:56:42 +01:00
qcomparehelpers Comparison helper macros: add an Attributes parameter 2024-02-20 01:04:33 +01:00
qflags Change license for tests files 2024-02-04 09:56:42 +01:00
qfloat16 Change license for tests files 2024-02-04 09:56:42 +01:00
qgetputenv Change license for tests files 2024-02-04 09:56:42 +01:00
qglobal Change license for tests files 2024-02-04 09:56:42 +01:00
qglobalstatic Change license for tests files 2024-02-04 09:56:42 +01:00
qhooks Change license for tests files 2024-02-04 09:56:42 +01:00
qkeycombination Change license for tests files 2024-02-04 09:56:42 +01:00
qlogging tst_qmessagehandler: disable the backtrace tests outside of x86 2024-02-26 23:29:39 -08:00
qnativeinterface Change license for tests files 2024-02-04 09:56:42 +01:00
qnumeric Change license for tests files 2024-02-04 09:56:42 +01:00
qoperatingsystemversion Change license for tests files 2024-02-04 09:56:42 +01:00
qrandomgenerator Change license for tests files 2024-02-04 09:56:42 +01:00
qtendian Change license for tests files 2024-02-04 09:56:42 +01:00
qxp Change license for tests files 2024-02-04 09:56:42 +01:00
CMakeLists.txt Implement compare helper macros 2023-11-28 20:30:19 +00:00