[PATCH] D42268: Add more initializers to quiet a clang warning
Daniel Sanders via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 30 08:05:34 PST 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL323777: Add more initializers to quiet a clang warning (authored by dsanders, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D42268?vs=130506&id=131971#toc
Repository:
rL LLVM
https://reviews.llvm.org/D42268
Files:
llvm/trunk/lib/Support/PrettyStackTrace.cpp
Index: llvm/trunk/lib/Support/PrettyStackTrace.cpp
===================================================================
--- llvm/trunk/lib/Support/PrettyStackTrace.cpp
+++ llvm/trunk/lib/Support/PrettyStackTrace.cpp
@@ -88,7 +88,11 @@
CRASH_REPORTER_CLIENT_HIDDEN
struct crashreporter_annotations_t gCRAnnotations
__attribute__((section("__DATA," CRASHREPORTER_ANNOTATIONS_SECTION)))
+#if CRASHREPORTER_ANNOTATIONS_VERSION < 5
= { CRASHREPORTER_ANNOTATIONS_VERSION, 0, 0, 0, 0, 0, 0 };
+#else
+ = { CRASHREPORTER_ANNOTATIONS_VERSION, 0, 0, 0, 0, 0, 0, 0 };
+#endif
}
#elif defined(__APPLE__) && HAVE_CRASHREPORTER_INFO
extern "C" const char *__crashreporter_info__
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42268.131971.patch
Type: text/x-patch
Size: 697 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180130/ae98f631/attachment.bin>
More information about the llvm-commits
mailing list