forked from qt-creator/qt-creator
crashpad: disable calling crashpad_handler on arm64
Currently, the none arm handler binary is hanging and needs further investigation. Maybe a complete universal build will fix this, and we can enable it again. Change-Id: I60b5623d8dda500a3be3efd095f91a9609600324 Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
This commit is contained in:
@@ -56,6 +56,8 @@
|
|||||||
#include <QUrl>
|
#include <QUrl>
|
||||||
#include <QVariant>
|
#include <QVariant>
|
||||||
|
|
||||||
|
#include <QSysInfo>
|
||||||
|
|
||||||
#include <QNetworkProxyFactory>
|
#include <QNetworkProxyFactory>
|
||||||
|
|
||||||
#include <QApplication>
|
#include <QApplication>
|
||||||
@@ -410,6 +412,11 @@ QStringList lastSessionArgument()
|
|||||||
#ifdef ENABLE_CRASHPAD
|
#ifdef ENABLE_CRASHPAD
|
||||||
bool startCrashpad(const QString &libexecPath, bool crashReportingEnabled)
|
bool startCrashpad(const QString &libexecPath, bool crashReportingEnabled)
|
||||||
{
|
{
|
||||||
|
if (QSysInfo::currentCpuArchitecture() == "arm64") {
|
||||||
|
qDebug() << "The crashpad_handler binary does not work on arm64 properly. So it is disabled for now.";
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
using namespace crashpad;
|
using namespace crashpad;
|
||||||
|
|
||||||
// Cache directory that will store crashpad information and minidumps
|
// Cache directory that will store crashpad information and minidumps
|
||||||
|
Reference in New Issue
Block a user