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/asan deal with rename lo...



details:   https://anonhg.NetBSD.org/src/rev/98e93e805eb6
branches:  trunk
changeset: 815751:98e93e805eb6
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Jun 01 17:03:26 2016 +0000

description:
deal with rename lossage

diffstat:

 external/gpl3/gcc/dist/libsanitizer/asan/asan_interceptors.cc |  5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diffs (15 lines):

diff -r c5e63862d90e -r 98e93e805eb6 external/gpl3/gcc/dist/libsanitizer/asan/asan_interceptors.cc
--- a/external/gpl3/gcc/dist/libsanitizer/asan/asan_interceptors.cc     Wed Jun 01 17:02:54 2016 +0000
+++ b/external/gpl3/gcc/dist/libsanitizer/asan/asan_interceptors.cc     Wed Jun 01 17:03:26 2016 +0000
@@ -267,6 +267,11 @@
 }
 #endif  // ASAN_INTERCEPT_SWAPCONTEXT
 
+#if SANITIZER_NETBSD
+#define longjmp __longjmp14
+#define siglongjmp __siglongjmp14
+#endif
+
 INTERCEPTOR(void, longjmp, void *env, int val) {
   __asan_handle_no_return();
   REAL(longjmp)(env, val);



Home | Main Index | Thread Index | Old Index