[compiler-rt] [Darwin][Sanitizers][CrashReporter] Adopt initializer for Crash Reporter Annotations struct (PR #123978)

Julian Lettner via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 23 10:29:31 PST 2025


================
@@ -808,17 +813,17 @@ struct crashreporter_annotations_t gCRAnnotations
         0,
         0,
         0,
-#if CRASHREPORTER_ANNOTATIONS_VERSION > 4
+#      if CRASHREPORTER_ANNOTATIONS_VERSION > 4
         0,
-#endif
+#      endif
 };
-
-#else
-// fall back to old crashreporter api
+#    endif
+#  else
+// Revert to previous crash reporter API if client is not available
----------------
yln wrote:

```suggestion
// Revert to previous crash reporter API if client header is not available
```

https://github.com/llvm/llvm-project/pull/123978


More information about the llvm-commits mailing list