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 provide...
details: https://anonhg.NetBSD.org/src/rev/6bd043e90cd2
branches: trunk
changeset: 996623:6bd043e90cd2
user: mrg <mrg%NetBSD.org@localhost>
date: Tue Feb 05 12:56:43 2019 +0000
description:
provide empty version of Aarch64GetESR() for non-linux arm64.
diffstat:
external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_linux.cc | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diffs (23 lines):
diff -r fe8edb9c850a -r 6bd043e90cd2 external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_linux.cc
--- a/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_linux.cc Tue Feb 05 12:42:08 2019 +0000
+++ b/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_linux.cc Tue Feb 05 12:56:43 2019 +0000
@@ -1346,6 +1346,7 @@
#endif
#if defined(__aarch64__)
+#if SANITIZER_LINUX
// Android headers in the older NDK releases miss this definition.
struct __sanitizer_esr_context {
struct _aarch64_ctx head;
@@ -1366,6 +1367,11 @@
}
return false;
}
+#else
+static bool Aarch64GetESR(ucontext_t *ucontext, u64 *esr) {
+ return false;
+}
+#endif
#endif
SignalContext::WriteFlag SignalContext::GetWriteFlag(void *context) {
Home |
Main Index |
Thread Index |
Old Index