aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMightyPlaza <[email protected]>2024-07-24 17:05:54 +0000
committerGitHub <[email protected]>2024-07-24 19:05:54 +0200
commit735e3c6c56d22059ee6340c0327e4b5a9154f013 (patch)
tree4dc74c6ce190eb4b0594fbc7f15985ffb8671073
parentb16fb9770ca984fb4e0f44e188b0786180afb8ba (diff)
downloadHyprland-735e3c6c56d22059ee6340c0327e4b5a9154f013.tar.gz
Hyprland-735e3c6c56d22059ee6340c0327e4b5a9154f013.zip
crashreporter: add date and flags to crash report (#7028)
modified: src/debug/CrashReporter.cpp
-rw-r--r--src/debug/CrashReporter.cpp14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/debug/CrashReporter.cpp b/src/debug/CrashReporter.cpp
index c25212fe..c31975b8 100644
--- a/src/debug/CrashReporter.cpp
+++ b/src/debug/CrashReporter.cpp
@@ -105,7 +105,19 @@ void CrashReporter::createAndSaveCrash(int sig) {
finalCrashReport += GIT_COMMIT_HASH;
finalCrashReport += "\nTag: ";
finalCrashReport += GIT_TAG;
- finalCrashReport += "\n\n";
+ finalCrashReport += "\nDate: ";
+ finalCrashReport += GIT_COMMIT_DATE;
+ finalCrashReport += "\nFlags:\n";
+#ifdef LEGACY_RENDERER
+ finalCrashReport += "legacyrenderer\n";
+#endif
+#ifndef ISDEBUG
+ finalCrashReport += "debug\n";
+#endif
+#ifdef NO_XWAYLAND
+ finalCrashReport += "no xwayland\n";
+#endif
+ finalCrashReport += "\n";
if (g_pPluginSystem && g_pPluginSystem->pluginCount() > 0) {
finalCrashReport += "Hyprland seems to be running with plugins. This crash might not be Hyprland's fault.\nPlugins:\n";