[PATCH] D37952: [sanitizer] Don't define common ReportDeadlySignal on Fuchsia
Petr Hosek via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 19 10:01:11 PDT 2017
phosek updated this revision to Diff 115857.
Repository:
rL LLVM
https://reviews.llvm.org/D37952
Files:
lib/sanitizer_common/sanitizer_common_libcdep.cc
Index: lib/sanitizer_common/sanitizer_common_libcdep.cc
===================================================================
--- lib/sanitizer_common/sanitizer_common_libcdep.cc
+++ lib/sanitizer_common/sanitizer_common_libcdep.cc
@@ -147,7 +147,7 @@
}
#endif
-#if !SANITIZER_GO
+#if !SANITIZER_FUCHSIA && !SANITIZER_GO
void StartReportDeadlySignal() {
// Write the first message using fd=2, just in case.
// It may actually fail to write in case stderr is closed.
@@ -254,7 +254,7 @@
else
ReportDeadlySignalImpl(sig, tid, unwind, unwind_context);
}
-#endif // !SANITIZER_GO
+#endif // !SANITIZER_FUCHSIA && !SANITIZER_GO
void WriteToSyslog(const char *msg) {
InternalScopedString msg_copy(kErrorMessageBufferSize);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37952.115857.patch
Type: text/x-patch
Size: 743 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170919/dd815781/attachment.bin>
More information about the llvm-commits
mailing list