[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:02:00 PDT 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rL313641: [sanitizer] Don't define common ReportDeadlySignal on Fuchsia (authored by phosek).
Changed prior to commit:
https://reviews.llvm.org/D37952?vs=115857&id=115858#toc
Repository:
rL LLVM
https://reviews.llvm.org/D37952
Files:
compiler-rt/trunk/lib/sanitizer_common/sanitizer_common_libcdep.cc
Index: compiler-rt/trunk/lib/sanitizer_common/sanitizer_common_libcdep.cc
===================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_common_libcdep.cc
+++ compiler-rt/trunk/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.115858.patch
Type: text/x-patch
Size: 797 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170919/3adb03c5/attachment.bin>
More information about the llvm-commits
mailing list