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/9a8815a0e97e
branches:  trunk
changeset: 345609:9a8815a0e97e
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 6990c7479803 -r 9a8815a0e97e 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