summaryrefslogtreecommitdiffstats
path: root/src/testlib/qtestcrashhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/testlib/qtestcrashhandler.cpp')
-rw-r--r--src/testlib/qtestcrashhandler.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/testlib/qtestcrashhandler.cpp b/src/testlib/qtestcrashhandler.cpp
index 2a62044b14e..bc4e1629dd9 100644
--- a/src/testlib/qtestcrashhandler.cpp
+++ b/src/testlib/qtestcrashhandler.cpp
@@ -258,10 +258,16 @@ void prepareStackTrace()
return;
#if defined(Q_OS_MACOS)
+ // Try to handle https://github.com/llvm/llvm-project/issues/53254,
+ // where LLDB will hang and fail to provide a valid stack trace.
+# if defined(Q_PROCESSOR_ARM)
+ return;
+ #else
#define CSR_ALLOW_UNRESTRICTED_FS (1 << 1)
std::optional<uint32_t> sipConfiguration = qt_mac_sipConfiguration();
if (!sipConfiguration || !(*sipConfiguration & CSR_ALLOW_UNRESTRICTED_FS))
- return; // LLDB will fail to provide a valid stack trace
+ return;
+# endif
#endif
#ifdef Q_OS_UNIX