Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common disable...



details:   https://anonhg.NetBSD.org/src/rev/d84fadecc78f
branches:  trunk
changeset: 996480:d84fadecc78f
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Feb 03 11:12:01 2019 +0000

description:
disable SignalContext::GetWriteFlag() for netbsd/arm (for now).

diffstat:

 external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_linux.cc |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r bb821fb1d95f -r d84fadecc78f external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_linux.cc
--- a/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_linux.cc   Sun Feb 03 11:10:58 2019 +0000
+++ b/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_linux.cc   Sun Feb 03 11:12:01 2019 +0000
@@ -1376,7 +1376,7 @@
   uptr err = ucontext->uc_mcontext.gregs[REG_ERR];
 #endif
   return err & PF_WRITE ? WRITE : READ;
-#elif defined(__arm__)
+#elif defined(__arm__) && !SANITIZER_NETBSD
   static const uptr FSR_WRITE = 1U << 11;
   uptr fsr = ucontext->uc_mcontext.error_code;
   return fsr & FSR_WRITE ? WRITE : READ;



Home | Main Index | Thread Index | Old Index