forked from qt-creator/qt-creator
Crashpad: Reduce the size of crash reports on Windows
Fixes: QDS-9443 Change-Id: Ia990210bcb6f9626d9ef0930befdccd529a1c398 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -443,6 +443,12 @@ void startCrashpad(const AppInfo &appInfo, bool crashReportingEnabled)
|
||||
annotations["sha1"] = Core::Constants::IDE_REVISION_STR;
|
||||
#endif
|
||||
|
||||
if (HostOsInfo::isWindowsHost()) {
|
||||
// reduces the size of crash reports, which can be large on Windows
|
||||
CrashpadInfo::GetCrashpadInfo()
|
||||
->set_gather_indirectly_referenced_memory(crashpad::TriState::kEnabled, 0);
|
||||
}
|
||||
|
||||
// Optional arguments to pass to the handler
|
||||
std::vector<std::string> arguments;
|
||||
arguments.push_back("--no-rate-limit");
|
||||
|
Reference in New Issue
Block a user