Dirk Mueller
8d25732c5b
OBS-URL: https://build.opensuse.org/package/show/devel:tools/valgrind?expand=0&rev=6
43 lines
1.9 KiB
Diff
43 lines
1.9 KiB
Diff
Index: memcheck/memcheck.h
|
|
===================================================================
|
|
--- memcheck/memcheck.h.orig
|
|
+++ memcheck/memcheck.h
|
|
@@ -134,6 +134,18 @@ typedef
|
|
_qzz_res; \
|
|
}))
|
|
|
|
+/* This is the old name for VALGRIND_MAKE_MEM_NOACCESS. Deprecated. */
|
|
+#define VALGRIND_MAKE_NOACCESS(_qzz_addr,_qzz_len) \
|
|
+ VALGRIND_MAKE_MEM_NOACCESS(_qzz_addr,_qzz_len)
|
|
+
|
|
+/* This is the old name for VALGRIND_MAKE_MEM_UNDEFINED. Deprecated. */
|
|
+#define VALGRIND_MAKE_WRITABLE(_qzz_addr,_qzz_len) \
|
|
+ VALGRIND_MAKE_MEM_UNDEFINED(_qzz_addr,_qzz_len)
|
|
+
|
|
+/* This is the old name for VALGRIND_MAKE_MEM_DEFINED. Deprecated. */
|
|
+#define VALGRIND_MAKE_READABLE(_qzz_addr,_qzz_len) \
|
|
+ VALGRIND_MAKE_MEM_DEFINED(_qzz_addr,_qzz_len)
|
|
+
|
|
/* Similar to VALGRIND_MAKE_MEM_DEFINED except that addressability is
|
|
not altered: bytes which are addressable are marked as defined,
|
|
but those which are not addressable are left unchanged. */
|
|
@@ -205,6 +217,18 @@ typedef
|
|
(volatile unsigned char *)&(__lvalue), \
|
|
(unsigned long)(sizeof (__lvalue)))
|
|
|
|
+/* This is the old name for VALGRIND_CHECK_MEM_IS_ADDRESSABLE. Deprecated. */
|
|
+#define VALGRIND_CHECK_WRITABLE(_qzz_addr,_qzz_len) \
|
|
+ VALGRIND_CHECK_MEM_IS_ADDRESSABLE(_qzz_addr,_qzz_len)
|
|
+
|
|
+/* This is the old name for VALGRIND_CHECK_MEM_IS_DEFINED. Deprecated. */
|
|
+#define VALGRIND_CHECK_READABLE(_qzz_addr,_qzz_len) \
|
|
+ VALGRIND_CHECK_MEM_IS_DEFINED(_qzz_addr,_qzz_len)
|
|
+
|
|
+/* This is the old name for VALGRIND_CHECK_VALUE_IS_DEFINED. Deprecated. */
|
|
+#define VALGRIND_CHECK_DEFINED(__lvalue) \
|
|
+ VALGRIND_CHECK_VALUE_IS_DEFINED(__lvalue)
|
|
+
|
|
|
|
/* Do a full memory leak check (like --leak-check=full) mid-execution. */
|
|
#define VALGRIND_DO_LEAK_CHECK \
|