include: valgrind: Remove duplicate newlines

Drop all duplicate newlines. No functional change.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
This commit is contained in:
Marek Vasut 2024-07-23 01:28:32 +02:00 committed by Tom Rini
parent 7de0c5c431
commit c717b80f05
2 changed files with 0 additions and 21 deletions

View file

@ -9,7 +9,6 @@
#ifndef __MEMCHECK_H #ifndef __MEMCHECK_H
#define __MEMCHECK_H #define __MEMCHECK_H
/* This file is for inclusion into client (your!) code. /* This file is for inclusion into client (your!) code.
You can use these macros to manipulate and query memory permissions You can use these macros to manipulate and query memory permissions
@ -53,8 +52,6 @@ typedef
= VG_USERREQ_TOOL_BASE('M','C') + 256 = VG_USERREQ_TOOL_BASE('M','C') + 256
} Vg_MemCheckClientRequest; } Vg_MemCheckClientRequest;
/* Client-code macros to manipulate the state of memory. */ /* Client-code macros to manipulate the state of memory. */
/* Mark memory at _qzz_addr as unaddressable for _qzz_len bytes. */ /* Mark memory at _qzz_addr as unaddressable for _qzz_len bytes. */
@ -102,7 +99,6 @@ typedef
VG_USERREQ__DISCARD, \ VG_USERREQ__DISCARD, \
0, (_qzz_blkindex), 0, 0, 0) 0, (_qzz_blkindex), 0, 0, 0)
/* Client-code macros to check the state of memory. */ /* Client-code macros to check the state of memory. */
/* Check that memory at _qzz_addr is addressable for _qzz_len bytes. /* Check that memory at _qzz_addr is addressable for _qzz_len bytes.
@ -133,7 +129,6 @@ typedef
(volatile unsigned char *)&(__lvalue), \ (volatile unsigned char *)&(__lvalue), \
(unsigned long)(sizeof (__lvalue))) (unsigned long)(sizeof (__lvalue)))
/* Do a full memory leak check (like --leak-check=full) mid-execution. */ /* Do a full memory leak check (like --leak-check=full) mid-execution. */
#define VALGRIND_DO_LEAK_CHECK \ #define VALGRIND_DO_LEAK_CHECK \
VALGRIND_DO_CLIENT_REQUEST_STMT(VG_USERREQ__DO_LEAK_CHECK, \ VALGRIND_DO_CLIENT_REQUEST_STMT(VG_USERREQ__DO_LEAK_CHECK, \
@ -202,7 +197,6 @@ typedef
suppressed = _qzz_suppressed; \ suppressed = _qzz_suppressed; \
} }
/* Get the validity data for addresses [zza..zza+zznbytes-1] and copy it /* Get the validity data for addresses [zza..zza+zznbytes-1] and copy it
into the provided zzvbits array. Return values: into the provided zzvbits array. Return values:
0 if not running on valgrind 0 if not running on valgrind

View file

@ -24,7 +24,6 @@
#ifndef __VALGRIND_H #ifndef __VALGRIND_H
#define __VALGRIND_H #define __VALGRIND_H
/* ------------------------------------------------------------------ */ /* ------------------------------------------------------------------ */
/* VERSION NUMBER OF VALGRIND */ /* VERSION NUMBER OF VALGRIND */
/* ------------------------------------------------------------------ */ /* ------------------------------------------------------------------ */
@ -42,7 +41,6 @@
#define __VALGRIND_MAJOR__ 3 #define __VALGRIND_MAJOR__ 3
#define __VALGRIND_MINOR__ 16 #define __VALGRIND_MINOR__ 16
#include <stdarg.h> #include <stdarg.h>
/* Nb: this file might be included in a file compiled with -ansi. So /* Nb: this file might be included in a file compiled with -ansi. So
@ -77,7 +75,6 @@
#undef PLAT_x86_solaris #undef PLAT_x86_solaris
#undef PLAT_amd64_solaris #undef PLAT_amd64_solaris
#if defined(__APPLE__) && defined(__i386__) #if defined(__APPLE__) && defined(__i386__)
# define PLAT_x86_darwin 1 # define PLAT_x86_darwin 1
#elif defined(__APPLE__) && defined(__x86_64__) #elif defined(__APPLE__) && defined(__x86_64__)
@ -126,7 +123,6 @@
# endif # endif
#endif #endif
/* ------------------------------------------------------------------ */ /* ------------------------------------------------------------------ */
/* ARCHITECTURE SPECIFICS for SPECIAL INSTRUCTIONS. There is nothing */ /* ARCHITECTURE SPECIFICS for SPECIAL INSTRUCTIONS. There is nothing */
/* in here of use to end-users -- skip to the next section. */ /* in here of use to end-users -- skip to the next section. */
@ -928,7 +924,6 @@ typedef
); \ ); \
} while (0) } while (0)
#endif /* PLAT_mips32_linux */ #endif /* PLAT_mips32_linux */
/* ------------------------- mips64-linux ---------------- */ /* ------------------------- mips64-linux ---------------- */
@ -1073,7 +1068,6 @@ typedef
#endif /* CONFIG_VALGRIND */ #endif /* CONFIG_VALGRIND */
/* ------------------------------------------------------------------ */ /* ------------------------------------------------------------------ */
/* PLATFORM SPECIFICS for FUNCTION WRAPPING. This is all very */ /* PLATFORM SPECIFICS for FUNCTION WRAPPING. This is all very */
/* ugly. It's the least-worst tradeoff I can think of. */ /* ugly. It's the least-worst tradeoff I can think of. */
@ -5168,7 +5162,6 @@ typedef
lval = (__typeof__(lval)) _res; \ lval = (__typeof__(lval)) _res; \
} while (0) } while (0)
#endif /* PLAT_s390x_linux */ #endif /* PLAT_s390x_linux */
/* ------------------------- mips32-linux ----------------------- */ /* ------------------------- mips32-linux ----------------------- */
@ -6197,7 +6190,6 @@ typedef
lval = (__typeof__(lval)) (long)_res; \ lval = (__typeof__(lval)) (long)_res; \
} while (0) } while (0)
#define CALL_FN_W_WWW(lval, orig, arg1,arg2,arg3) \ #define CALL_FN_W_WWW(lval, orig, arg1,arg2,arg3) \
do { \ do { \
volatile OrigFn _orig = (orig); \ volatile OrigFn _orig = (orig); \
@ -6657,7 +6649,6 @@ typedef
# define __extension__ /* */ # define __extension__ /* */
#endif #endif
/* Returns the number of Valgrinds this code is running under. That /* Returns the number of Valgrinds this code is running under. That
is, 0 if running natively, 1 if running under Valgrind, 2 if is, 0 if running natively, 1 if running under Valgrind, 2 if
running under Valgrind which is running under another Valgrind, running under Valgrind which is running under another Valgrind,
@ -6667,7 +6658,6 @@ typedef
VG_USERREQ__RUNNING_ON_VALGRIND, \ VG_USERREQ__RUNNING_ON_VALGRIND, \
0, 0, 0, 0, 0) \ 0, 0, 0, 0, 0) \
/* Discard translation of code in the range [_qzz_addr .. _qzz_addr + /* Discard translation of code in the range [_qzz_addr .. _qzz_addr +
_qzz_len - 1]. Useful if you are debugging a JITter or some such, _qzz_len - 1]. Useful if you are debugging a JITter or some such,
since it provides a way to make sure valgrind will retranslate the since it provides a way to make sure valgrind will retranslate the
@ -6680,7 +6670,6 @@ typedef
VALGRIND_DO_CLIENT_REQUEST_STMT(VG_USERREQ__INNER_THREADS, \ VALGRIND_DO_CLIENT_REQUEST_STMT(VG_USERREQ__INNER_THREADS, \
_qzz_addr, 0, 0, 0, 0) _qzz_addr, 0, 0, 0, 0)
/* These requests are for getting Valgrind itself to print something. /* These requests are for getting Valgrind itself to print something.
Possibly with a backtrace. This is a really ugly hack. The return value Possibly with a backtrace. This is a really ugly hack. The return value
is the number of characters printed, excluding the "**<pid>** " part at the is the number of characters printed, excluding the "**<pid>** " part at the
@ -6766,7 +6755,6 @@ VALGRIND_PRINTF_BACKTRACE(const char *format, ...)
#endif /* CONFIG_VALGRIND */ #endif /* CONFIG_VALGRIND */
} }
/* These requests allow control to move from the simulated CPU to the /* These requests allow control to move from the simulated CPU to the
real CPU, calling an arbitrary function. real CPU, calling an arbitrary function.
@ -6815,7 +6803,6 @@ VALGRIND_PRINTF_BACKTRACE(const char *format, ...)
_qyy_arg1, _qyy_arg2, \ _qyy_arg1, _qyy_arg2, \
_qyy_arg3, 0) _qyy_arg3, 0)
/* Counts the number of errors that have been recorded by a tool. Nb: /* Counts the number of errors that have been recorded by a tool. Nb:
the tool must record the errors with VG_(maybe_record_error)() or the tool must record the errors with VG_(maybe_record_error)() or
VG_(unique_error)() for them to be counted. */ VG_(unique_error)() for them to be counted. */
@ -7079,7 +7066,6 @@ VALGRIND_PRINTF_BACKTRACE(const char *format, ...)
VALGRIND_DO_CLIENT_REQUEST_EXPR(0, VG_USERREQ__GDB_MONITOR_COMMAND, \ VALGRIND_DO_CLIENT_REQUEST_EXPR(0, VG_USERREQ__GDB_MONITOR_COMMAND, \
command, 0, 0, 0, 0) command, 0, 0, 0, 0)
/* Change the value of a dynamic command line option. /* Change the value of a dynamic command line option.
Note that unknown or not dynamically changeable options Note that unknown or not dynamically changeable options
will cause a warning message to be output. */ will cause a warning message to be output. */
@ -7087,7 +7073,6 @@ VALGRIND_PRINTF_BACKTRACE(const char *format, ...)
VALGRIND_DO_CLIENT_REQUEST_STMT(VG_USERREQ__CLO_CHANGE, \ VALGRIND_DO_CLIENT_REQUEST_STMT(VG_USERREQ__CLO_CHANGE, \
option, 0, 0, 0, 0) option, 0, 0, 0, 0)
#undef PLAT_x86_darwin #undef PLAT_x86_darwin
#undef PLAT_amd64_darwin #undef PLAT_amd64_darwin
#undef PLAT_x86_win32 #undef PLAT_x86_win32