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/lsan use the proper type...
details: https://anonhg.NetBSD.org/src/rev/5a9c794df068
branches: trunk
changeset: 320231:5a9c794df068
user: christos <christos%NetBSD.org@localhost>
date: Wed Jun 27 15:56:30 2018 +0000
description:
use the proper types for operator new
diffstat:
external/gpl3/gcc/dist/libsanitizer/lsan/lsan_interceptors.cc | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (21 lines):
diff -r 1ceab5601b65 -r 5a9c794df068 external/gpl3/gcc/dist/libsanitizer/lsan/lsan_interceptors.cc
--- a/external/gpl3/gcc/dist/libsanitizer/lsan/lsan_interceptors.cc Wed Jun 27 13:53:55 2018 +0000
+++ b/external/gpl3/gcc/dist/libsanitizer/lsan/lsan_interceptors.cc Wed Jun 27 15:56:30 2018 +0000
@@ -149,13 +149,13 @@
return Allocate(stack, size, 1, kAlwaysClearMemory);
INTERCEPTOR_ATTRIBUTE
-void *operator new(uptr size) { OPERATOR_NEW_BODY; }
+void *operator new(size_t size) { OPERATOR_NEW_BODY; }
INTERCEPTOR_ATTRIBUTE
-void *operator new[](uptr size) { OPERATOR_NEW_BODY; }
+void *operator new[](size_t size) { OPERATOR_NEW_BODY; }
INTERCEPTOR_ATTRIBUTE
-void *operator new(uptr size, std::nothrow_t const&) { OPERATOR_NEW_BODY; }
+void *operator new(size_t size, std::nothrow_t const&) { OPERATOR_NEW_BODY; }
INTERCEPTOR_ATTRIBUTE
-void *operator new[](uptr size, std::nothrow_t const&) { OPERATOR_NEW_BODY; }
+void *operator new[](size_t size, std::nothrow_t const&) { OPERATOR_NEW_BODY; }
#define OPERATOR_DELETE_BODY \
ENSURE_LSAN_INITED; \
Home |
Main Index |
Thread Index |
Old Index