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 use the...



details:   https://anonhg.NetBSD.org/src/rev/ef9c152f1ac6
branches:  trunk
changeset: 803355:ef9c152f1ac6
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Oct 23 17:50:24 2014 +0000

description:
use the appropriate unwind.h header

diffstat:

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

diffs (23 lines):

diff -r cd44992aa9b5 -r ef9c152f1ac6 external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_netbsd.cc
--- a/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_netbsd.cc  Thu Oct 23 17:50:08 2014 +0000
+++ b/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_netbsd.cc  Thu Oct 23 17:50:24 2014 +0000
@@ -29,7 +29,6 @@
 #include <sys/time.h>
 #include <sys/types.h>
 #include <unistd.h>
-#include <unwind.h>
 #include <errno.h>
 
 namespace __sanitizer {
@@ -392,9 +391,11 @@
 #ifndef SANITIZER_GO
 //------------------------- SlowUnwindStack -----------------------------------
 #ifdef __arm__
+#include "unwind-arm-common.h"
 #define UNWIND_STOP _URC_END_OF_STACK
 #define UNWIND_CONTINUE _URC_NO_REASON
 #else
+#include <unwind.h>
 #define UNWIND_STOP _URC_NORMAL_STOP
 #define UNWIND_CONTINUE _URC_NO_REASON
 #endif



Home | Main Index | Thread Index | Old Index