| The Gaudi Framework v30r0 (c919700c)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

Macros | Enumerations
local_valgrind.h File Reference
`#include <stdarg.h>`
Include dependency graph for local_valgrind.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Macros
#define | __VALGRIND_MAJOR__ 3
#define | __VALGRIND_MINOR__ 8
#define | NVALGRIND 1
#define | VALGRIND_DO_CLIENT_REQUEST(_zzq_rlval, _zzq_default, _zzq_request, _zzq_arg1, _zzq_arg2, _zzq_arg3, _zzq_arg4, _zzq_arg5)
#define | VALGRIND_DO_CLIENT_REQUEST_STMT(_zzq_request, _zzq_arg1, _zzq_arg2, _zzq_arg3, _zzq_arg4, _zzq_arg5)
#define | VALGRIND_DO_CLIENT_REQUEST_EXPR(_zzq_default, _zzq_request, _zzq_arg1, _zzq_arg2, _zzq_arg3, _zzq_arg4, _zzq_arg5) ( _zzq_default )
#define | VG_CONCAT4(_aa, _bb, _cc, _dd) _aa##_bb##_cc##_dd
#define | I_WRAP_SONAME_FNNAME_ZU(soname, fnname) VG_CONCAT4( _vgw00000ZU_, soname, _, fnname )
#define | I_WRAP_SONAME_FNNAME_ZZ(soname, fnname) VG_CONCAT4( _vgw00000ZZ_, soname, _, fnname )
#define | VALGRIND_GET_ORIG_FN(_lval) VALGRIND_GET_NR_CONTEXT( _lval )
#define | I_REPLACE_SONAME_FNNAME_ZU(soname, fnname) VG_CONCAT4( _vgr00000ZU_, soname, _, fnname )
#define | I_REPLACE_SONAME_FNNAME_ZZ(soname, fnname) VG_CONCAT4( _vgr00000ZZ_, soname, _, fnname )
#define | CALL_FN_v_v(fnptr)
#define | CALL_FN_v_W(fnptr, arg1)
#define | CALL_FN_v_WW(fnptr, arg1, arg2)
#define | CALL_FN_v_WWW(fnptr, arg1, arg2, arg3)
#define | CALL_FN_v_WWWW(fnptr, arg1, arg2, arg3, arg4)
#define | CALL_FN_v_5W(fnptr, arg1, arg2, arg3, arg4, arg5)
#define | CALL_FN_v_6W(fnptr, arg1, arg2, arg3, arg4, arg5, arg6)
#define | CALL_FN_v_7W(fnptr, arg1, arg2, arg3, arg4, arg5, arg6, arg7)
#define | VG_USERREQ_TOOL_BASE(a, b) ( (unsigned int)( ( (a)&0xff ) << 24 | ( (b)&0xff ) << 16 ) )
#define | VG_IS_TOOL_USERREQ(a, b, v) ( VG_USERREQ_TOOL_BASE( a, b ) == ( (v)&0xffff0000 ) )
#define | __extension__ /* */
#define | RUNNING_ON_VALGRIND (unsigned)VALGRIND_DO_CLIENT_REQUEST_EXPR( 0 /* if not */, VG_USERREQ__RUNNING_ON_VALGRIND, 0, 0, 0, 0, 0 )
#define | VALGRIND_DISCARD_TRANSLATIONS(_qzz_addr, _qzz_len) VALGRIND_DO_CLIENT_REQUEST_STMT( VG_USERREQ__DISCARD_TRANSLATIONS, _qzz_addr, _qzz_len, 0, 0, 0 )
#define | VALGRIND_NON_SIMD_CALL0(_qyy_fn) VALGRIND_DO_CLIENT_REQUEST_EXPR( 0 /* default return */, VG_USERREQ__CLIENT_CALL0, _qyy_fn, 0, 0, 0, 0 )
#define | VALGRIND_NON_SIMD_CALL1(_qyy_fn, _qyy_arg1) VALGRIND_DO_CLIENT_REQUEST_EXPR( 0 /* default return */, VG_USERREQ__CLIENT_CALL1, _qyy_fn, _qyy_arg1, 0, 0, 0 )
#define | VALGRIND_NON_SIMD_CALL2(_qyy_fn, _qyy_arg1, _qyy_arg2)
#define | VALGRIND_NON_SIMD_CALL3(_qyy_fn, _qyy_arg1, _qyy_arg2, _qyy_arg3)
#define | VALGRIND_COUNT_ERRORS (unsigned)VALGRIND_DO_CLIENT_REQUEST_EXPR( 0 /* default return */, VG_USERREQ__COUNT_ERRORS, 0, 0, 0, 0, 0 )
#define | VALGRIND_MALLOCLIKE_BLOCK(addr, sizeB, rzB, is_zeroed) VALGRIND_DO_CLIENT_REQUEST_STMT( VG_USERREQ__MALLOCLIKE_BLOCK, addr, sizeB, rzB, is_zeroed, 0 )
#define | VALGRIND_RESIZEINPLACE_BLOCK(addr, oldSizeB, newSizeB, rzB) VALGRIND_DO_CLIENT_REQUEST_STMT( VG_USERREQ__RESIZEINPLACE_BLOCK, addr, oldSizeB, newSizeB, rzB, 0 )
#define | VALGRIND_FREELIKE_BLOCK(addr, rzB) VALGRIND_DO_CLIENT_REQUEST_STMT( VG_USERREQ__FREELIKE_BLOCK, addr, rzB, 0, 0, 0 )
#define | VALGRIND_CREATE_MEMPOOL(pool, rzB, is_zeroed) VALGRIND_DO_CLIENT_REQUEST_STMT( VG_USERREQ__CREATE_MEMPOOL, pool, rzB, is_zeroed, 0, 0 )
#define | VALGRIND_DESTROY_MEMPOOL(pool) VALGRIND_DO_CLIENT_REQUEST_STMT( VG_USERREQ__DESTROY_MEMPOOL, pool, 0, 0, 0, 0 )
#define | VALGRIND_MEMPOOL_ALLOC(pool, addr, size) VALGRIND_DO_CLIENT_REQUEST_STMT( VG_USERREQ__MEMPOOL_ALLOC, pool, addr, size, 0, 0 )
#define | VALGRIND_MEMPOOL_FREE(pool, addr) VALGRIND_DO_CLIENT_REQUEST_STMT( VG_USERREQ__MEMPOOL_FREE, pool, addr, 0, 0, 0 )
#define | VALGRIND_MEMPOOL_TRIM(pool, addr, size) VALGRIND_DO_CLIENT_REQUEST_STMT( VG_USERREQ__MEMPOOL_TRIM, pool, addr, size, 0, 0 )
#define | VALGRIND_MOVE_MEMPOOL(poolA, poolB) VALGRIND_DO_CLIENT_REQUEST_STMT( VG_USERREQ__MOVE_MEMPOOL, poolA, poolB, 0, 0, 0 )
#define | VALGRIND_MEMPOOL_CHANGE(pool, addrA, addrB, size) VALGRIND_DO_CLIENT_REQUEST_STMT( VG_USERREQ__MEMPOOL_CHANGE, pool, addrA, addrB, size, 0 )
#define | VALGRIND_MEMPOOL_EXISTS(pool) (unsigned)VALGRIND_DO_CLIENT_REQUEST_EXPR( 0, VG_USERREQ__MEMPOOL_EXISTS, pool, 0, 0, 0, 0 )
#define | VALGRIND_STACK_REGISTER(start, end) (unsigned)VALGRIND_DO_CLIENT_REQUEST_EXPR( 0, VG_USERREQ__STACK_REGISTER, start, end, 0, 0, 0 )
#define | VALGRIND_STACK_DEREGISTER(id) VALGRIND_DO_CLIENT_REQUEST_STMT( VG_USERREQ__STACK_DEREGISTER, id, 0, 0, 0, 0 )
#define | VALGRIND_STACK_CHANGE(id, start, end) VALGRIND_DO_CLIENT_REQUEST_STMT( VG_USERREQ__STACK_CHANGE, id, start, end, 0, 0 )
#define | VALGRIND_LOAD_PDB_DEBUGINFO(fd, ptr, total_size, delta) VALGRIND_DO_CLIENT_REQUEST_STMT( VG_USERREQ__LOAD_PDB_DEBUGINFO, fd, ptr, total_size, delta, 0 )
#define | VALGRIND_MAP_IP_TO_SRCLOC(addr, buf64) (unsigned)VALGRIND_DO_CLIENT_REQUEST_EXPR( 0, VG_USERREQ__MAP_IP_TO_SRCLOC, addr, buf64, 0, 0, 0 )
#define | VALGRIND_DISABLE_ERROR_REPORTING VALGRIND_DO_CLIENT_REQUEST_STMT( VG_USERREQ__CHANGE_ERR_DISABLEMENT, 1, 0, 0, 0, 0 )
#define | VALGRIND_ENABLE_ERROR_REPORTING VALGRIND_DO_CLIENT_REQUEST_STMT( VG_USERREQ__CHANGE_ERR_DISABLEMENT, -1, 0, 0, 0, 0 )
#define | VALGRIND_MONITOR_COMMAND(command) VALGRIND_DO_CLIENT_REQUEST_EXPR( 0, VG_USERREQ__GDB_MONITOR_COMMAND, command, 0, 0, 0, 0 )

## Enumerations
enum | Vg_ClientRequest { VG_USERREQ__RUNNING_ON_VALGRIND = 0x1001, VG_USERREQ__DISCARD_TRANSLATIONS = 0x1002, VG_USERREQ__CLIENT_CALL0 = 0x1101, VG_USERREQ__CLIENT_CALL1 = 0x1102, VG_USERREQ__CLIENT_CALL2 = 0x1103, VG_USERREQ__CLIENT_CALL3 = 0x1104, VG_USERREQ__COUNT_ERRORS = 0x1201, VG_USERREQ__GDB_MONITOR_COMMAND = 0x1202, VG_USERREQ__MALLOCLIKE_BLOCK = 0x1301, VG_USERREQ__RESIZEINPLACE_BLOCK = 0x130b, VG_USERREQ__FREELIKE_BLOCK = 0x1302, VG_USERREQ__CREATE_MEMPOOL = 0x1303, VG_USERREQ__DESTROY_MEMPOOL = 0x1304, VG_USERREQ__MEMPOOL_ALLOC = 0x1305, VG_USERREQ__MEMPOOL_FREE = 0x1306, VG_USERREQ__MEMPOOL_TRIM = 0x1307, VG_USERREQ__MOVE_MEMPOOL = 0x1308, VG_USERREQ__MEMPOOL_CHANGE = 0x1309, VG_USERREQ__MEMPOOL_EXISTS = 0x130a, VG_USERREQ__PRINTF = 0x1401, VG_USERREQ__PRINTF_BACKTRACE = 0x1402, VG_USERREQ__PRINTF_VALIST_BY_REF = 0x1403, VG_USERREQ__PRINTF_BACKTRACE_VALIST_BY_REF = 0x1404, VG_USERREQ__STACK_REGISTER = 0x1501, VG_USERREQ__STACK_DEREGISTER = 0x1502, VG_USERREQ__STACK_CHANGE = 0x1503, VG_USERREQ__LOAD_PDB_DEBUGINFO = 0x1601, VG_USERREQ__MAP_IP_TO_SRCLOC = 0x1701, VG_USERREQ__CHANGE_ERR_DISABLEMENT = 0x1801, VG_USERREQ__VEX_INIT_FOR_IRI = 0x1901 }

## Macro Definition Documentation

#define __extension__ /* */

Definition at line 4372 of file local_valgrind.h.

#define __VALGRIND_MAJOR__ 3

Definition at line 89 of file local_valgrind.h.

#define __VALGRIND_MINOR__ 8

Definition at line 90 of file local_valgrind.h.

#define CALL_FN_v_5W | ( |  | fnptr,
|  |  | arg1,
|  |  | arg2,
|  |  | arg3,
|  |  | arg4,
|  |  | arg5
| ) |  |

Value:
do { \
volatile unsigned long _junk; \
CALL_FN_W_5W( _junk, fnptr, arg1, arg2, arg3, arg4, arg5 ); \
} while ( 0 )

Definition at line 883 of file local_valgrind.h.

#define CALL_FN_v_6W | ( |  | fnptr,
|  |  | arg1,
|  |  | arg2,
|  |  | arg3,
|  |  | arg4,
|  |  | arg5,
|  |  | arg6
| ) |  |

Value:
do { \
volatile unsigned long _junk; \
CALL_FN_W_6W( _junk, fnptr, arg1, arg2, arg3, arg4, arg5, arg6 ); \
} while ( 0 )

Definition at line 889 of file local_valgrind.h.

#define CALL_FN_v_7W | ( |  | fnptr,
|  |  | arg1,
|  |  | arg2,
|  |  | arg3,
|  |  | arg4,
|  |  | arg5,
|  |  | arg6,
|  |  | arg7
| ) |  |

Value:
do { \
volatile unsigned long _junk; \
CALL_FN_W_7W( _junk, fnptr, arg1, arg2, arg3, arg4, arg5, arg6, arg7 ); \
} while ( 0 )

Definition at line 895 of file local_valgrind.h.

#define CALL_FN_v_v | ( |  | fnptr | ) |

Value:
do { \
volatile unsigned long _junk; \
CALL_FN_W_v( _junk, fnptr ); \
} while ( 0 )

Definition at line 853 of file local_valgrind.h.

#define CALL_FN_v_W | ( |  | fnptr,
|  |  | arg1
| ) |  |

Value:
do { \
volatile unsigned long _junk; \
CALL_FN_W_W( _junk, fnptr, arg1 ); \
} while ( 0 )

Definition at line 859 of file local_valgrind.h.

#define CALL_FN_v_WW | ( |  | fnptr,
|  |  | arg1,
|  |  | arg2
| ) |  |

Value:
do { \
volatile unsigned long _junk; \
CALL_FN_W_WW( _junk, fnptr, arg1, arg2 ); \
} while ( 0 )

Definition at line 865 of file local_valgrind.h.

#define CALL_FN_v_WWW | ( |  | fnptr,
|  |  | arg1,
|  |  | arg2,
|  |  | arg3
| ) |  |

Value:
do { \
volatile unsigned long _junk; \
CALL_FN_W_WWW( _junk, fnptr, arg1, arg2, arg3 ); \
} while ( 0 )

Definition at line 871 of file local_valgrind.h.

#define CALL_FN_v_WWWW | ( |  | fnptr,
|  |  | arg1,
|  |  | arg2,
|  |  | arg3,
|  |  | arg4
| ) |  |

Value:
do { \
volatile unsigned long _junk; \
CALL_FN_W_WWWW( _junk, fnptr, arg1, arg2, arg3, arg4 ); \
} while ( 0 )

Definition at line 877 of file local_valgrind.h.

#define I_REPLACE_SONAME_FNNAME_ZU | ( |  | soname,
|  |  | fnname
| ) |  | VG_CONCAT4( _vgr00000ZU_, soname, _, fnname )

Definition at line 846 of file local_valgrind.h.

#define I_REPLACE_SONAME_FNNAME_ZZ | ( |  | soname,
|  |  | fnname
| ) |  | VG_CONCAT4( _vgr00000ZZ_, soname, _, fnname )

Definition at line 848 of file local_valgrind.h.

#define I_WRAP_SONAME_FNNAME_ZU | ( |  | soname,
|  |  | fnname
| ) |  | VG_CONCAT4( _vgw00000ZU_, soname, _, fnname )

Definition at line 830 of file local_valgrind.h.

#define I_WRAP_SONAME_FNNAME_ZZ | ( |  | soname,
|  |  | fnname
| ) |  | VG_CONCAT4( _vgw00000ZZ_, soname, _, fnname )

Definition at line 832 of file local_valgrind.h.

#define NVALGRIND 1

Definition at line 151 of file local_valgrind.h.

#define RUNNING_ON_VALGRIND (unsigned)VALGRIND_DO_CLIENT_REQUEST_EXPR( 0 /* if not */, VG_USERREQ__RUNNING_ON_VALGRIND, 0, 0, 0, 0, 0 )

Definition at line 4379 of file local_valgrind.h.

#define VALGRIND_COUNT_ERRORS (unsigned)VALGRIND_DO_CLIENT_REQUEST_EXPR( 0 /* default return */, VG_USERREQ__COUNT_ERRORS, 0, 0, 0, 0, 0 )

Definition at line 4499 of file local_valgrind.h.

#define VALGRIND_CREATE_MEMPOOL | ( |  | pool,
|  |  | rzB,
|  |  | is_zeroed
| ) |  | VALGRIND_DO_CLIENT_REQUEST_STMT( VG_USERREQ__CREATE_MEMPOOL, pool, rzB, is_zeroed, 0, 0 )

Definition at line 4619 of file local_valgrind.h.

#define VALGRIND_DESTROY_MEMPOOL | ( |  | pool | ) | VALGRIND_DO_CLIENT_REQUEST_STMT( VG_USERREQ__DESTROY_MEMPOOL, pool, 0, 0, 0, 0 )

Definition at line 4623 of file local_valgrind.h.

#define VALGRIND_DISABLE_ERROR_REPORTING VALGRIND_DO_CLIENT_REQUEST_STMT( VG_USERREQ__CHANGE_ERR_DISABLEMENT, 1, 0, 0, 0, 0 )

Definition at line 4681 of file local_valgrind.h.

#define VALGRIND_DISCARD_TRANSLATIONS | ( |  | _qzz_addr,
|  |  | _qzz_len
| ) |  | VALGRIND_DO_CLIENT_REQUEST_STMT( VG_USERREQ__DISCARD_TRANSLATIONS, _qzz_addr, _qzz_len, 0, 0, 0 )

Definition at line 4386 of file local_valgrind.h.

#define VALGRIND_DO_CLIENT_REQUEST | ( |  | _zzq_rlval,
|  |  | _zzq_default,
|  |  | _zzq_request,
|  |  | _zzq_arg1,
|  |  | _zzq_arg2,
|  |  | _zzq_arg3,
|  |  | _zzq_arg4,
|  |  | _zzq_arg5
| ) |  |

Value:
do { \
( _zzq_rlval ) = VALGRIND_DO_CLIENT_REQUEST_EXPR( ( _zzq_default ), ( _zzq_request ), ( _zzq_arg1 ), \
( _zzq_arg2 ), ( _zzq_arg3 ), ( _zzq_arg4 ), ( _zzq_arg5 ) ); \
} while ( 0 )
VALGRIND_DO_CLIENT_REQUEST_EXPR
#define VALGRIND_DO_CLIENT_REQUEST_EXPR(_zzq_default, _zzq_request, _zzq_arg1, _zzq_arg2, _zzq_arg3, _zzq_arg4, _zzq_arg5)
Definition: local_valgrind.h:191

Definition at line 173 of file local_valgrind.h.

#define VALGRIND_DO_CLIENT_REQUEST_EXPR | ( |  | _zzq_default,
|  |  | _zzq_request,
|  |  | _zzq_arg1,
|  |  | _zzq_arg2,
|  |  | _zzq_arg3,
|  |  | _zzq_arg4,
|  |  | _zzq_arg5
| ) |  | ( _zzq_default )

Definition at line 191 of file local_valgrind.h.

#define VALGRIND_DO_CLIENT_REQUEST_STMT | ( |  | _zzq_request,
|  |  | _zzq_arg1,
|  |  | _zzq_arg2,
|  |  | _zzq_arg3,
|  |  | _zzq_arg4,
|  |  | _zzq_arg5
| ) |  |

Value:
do { \
(void)VALGRIND_DO_CLIENT_REQUEST_EXPR( 0, ( _zzq_request ), ( _zzq_arg1 ), ( _zzq_arg2 ), ( _zzq_arg3 ), \
( _zzq_arg4 ), ( _zzq_arg5 ) ); \
} while ( 0 )
Gaudi::Functional::void
class MergingTransformer< Out(const vector_of_const_< In > void
Definition: MergingTransformer.h:23
VALGRIND_DO_CLIENT_REQUEST_EXPR
#define VALGRIND_DO_CLIENT_REQUEST_EXPR(_zzq_default, _zzq_request, _zzq_arg1, _zzq_arg2, _zzq_arg3, _zzq_arg4, _zzq_arg5)
Definition: local_valgrind.h:191

Definition at line 180 of file local_valgrind.h.

#define VALGRIND_ENABLE_ERROR_REPORTING VALGRIND_DO_CLIENT_REQUEST_STMT( VG_USERREQ__CHANGE_ERR_DISABLEMENT, -1, 0, 0, 0, 0 )

Definition at line 4686 of file local_valgrind.h.

#define VALGRIND_FREELIKE_BLOCK | ( |  | addr,
|  |  | rzB
| ) |  | VALGRIND_DO_CLIENT_REQUEST_STMT( VG_USERREQ__FREELIKE_BLOCK, addr, rzB, 0, 0, 0 )

Definition at line 4615 of file local_valgrind.h.

#define VALGRIND_GET_ORIG_FN | ( |  | _lval | ) | VALGRIND_GET_NR_CONTEXT( _lval )

Definition at line 838 of file local_valgrind.h.

#define VALGRIND_LOAD_PDB_DEBUGINFO | ( |  | fd,
|  |  | ptr,
|  |  | total_size,
|  |  | delta
| ) |  | VALGRIND_DO_CLIENT_REQUEST_STMT( VG_USERREQ__LOAD_PDB_DEBUGINFO, fd, ptr, total_size, delta, 0 )

Definition at line 4663 of file local_valgrind.h.

#define VALGRIND_MALLOCLIKE_BLOCK | ( |  | addr,
|  |  | sizeB,
|  |  | rzB,
|  |  | is_zeroed
| ) |  | VALGRIND_DO_CLIENT_REQUEST_STMT( VG_USERREQ__MALLOCLIKE_BLOCK, addr, sizeB, rzB, is_zeroed, 0 )

Definition at line 4603 of file local_valgrind.h.

#define VALGRIND_MAP_IP_TO_SRCLOC | ( |  | addr,
|  |  | buf64
| ) |  | (unsigned)VALGRIND_DO_CLIENT_REQUEST_EXPR( 0, VG_USERREQ__MAP_IP_TO_SRCLOC, addr, buf64, 0, 0, 0 )

Definition at line 4670 of file local_valgrind.h.

#define VALGRIND_MEMPOOL_ALLOC | ( |  | pool,
|  |  | addr,
|  |  | size
| ) |  | VALGRIND_DO_CLIENT_REQUEST_STMT( VG_USERREQ__MEMPOOL_ALLOC, pool, addr, size, 0, 0 )

Definition at line 4627 of file local_valgrind.h.

#define VALGRIND_MEMPOOL_CHANGE | ( |  | pool,
|  |  | addrA,
|  |  | addrB,
|  |  | size
| ) |  | VALGRIND_DO_CLIENT_REQUEST_STMT( VG_USERREQ__MEMPOOL_CHANGE, pool, addrA, addrB, size, 0 )

Definition at line 4643 of file local_valgrind.h.

#define VALGRIND_MEMPOOL_EXISTS | ( |  | pool | ) | (unsigned)VALGRIND_DO_CLIENT_REQUEST_EXPR( 0, VG_USERREQ__MEMPOOL_EXISTS, pool, 0, 0, 0, 0 )

Definition at line 4647 of file local_valgrind.h.

#define VALGRIND_MEMPOOL_FREE | ( |  | pool,
|  |  | addr
| ) |  | VALGRIND_DO_CLIENT_REQUEST_STMT( VG_USERREQ__MEMPOOL_FREE, pool, addr, 0, 0, 0 )

Definition at line 4631 of file local_valgrind.h.

#define VALGRIND_MEMPOOL_TRIM | ( |  | pool,
|  |  | addr,
|  |  | size
| ) |  | VALGRIND_DO_CLIENT_REQUEST_STMT( VG_USERREQ__MEMPOOL_TRIM, pool, addr, size, 0, 0 )

Definition at line 4635 of file local_valgrind.h.

#define VALGRIND_MONITOR_COMMAND | ( |  | command | ) | VALGRIND_DO_CLIENT_REQUEST_EXPR( 0, VG_USERREQ__GDB_MONITOR_COMMAND, command, 0, 0, 0, 0 )

Definition at line 4694 of file local_valgrind.h.

#define VALGRIND_MOVE_MEMPOOL | ( |  | poolA,
|  |  | poolB
| ) |  | VALGRIND_DO_CLIENT_REQUEST_STMT( VG_USERREQ__MOVE_MEMPOOL, poolA, poolB, 0, 0, 0 )

Definition at line 4639 of file local_valgrind.h.

#define VALGRIND_NON_SIMD_CALL0 | ( |  | _qyy_fn | ) | VALGRIND_DO_CLIENT_REQUEST_EXPR( 0 /* default return */, VG_USERREQ__CLIENT_CALL0, _qyy_fn, 0, 0, 0, 0 )

Definition at line 4482 of file local_valgrind.h.

#define VALGRIND_NON_SIMD_CALL1 | ( |  | _qyy_fn,
|  |  | _qyy_arg1
| ) |  | VALGRIND_DO_CLIENT_REQUEST_EXPR( 0 /* default return */, VG_USERREQ__CLIENT_CALL1, _qyy_fn, _qyy_arg1, 0, 0, 0 )

Definition at line 4485 of file local_valgrind.h.

#define VALGRIND_NON_SIMD_CALL2 | ( |  | _qyy_fn,
|  |  | _qyy_arg1,
|  |  | _qyy_arg2
| ) |  |

Value:
VALGRIND_DO_CLIENT_REQUEST_EXPR( 0 /* default return */, VG_USERREQ__CLIENT_CALL2, _qyy_fn, _qyy_arg1, _qyy_arg2, 0, \
0 )
VG_USERREQ__CLIENT_CALL2
Definition: local_valgrind.h:4309
VALGRIND_DO_CLIENT_REQUEST_EXPR
#define VALGRIND_DO_CLIENT_REQUEST_EXPR(_zzq_default, _zzq_request, _zzq_arg1, _zzq_arg2, _zzq_arg3, _zzq_arg4, _zzq_arg5)
Definition: local_valgrind.h:191

Definition at line 4488 of file local_valgrind.h.

#define VALGRIND_NON_SIMD_CALL3 | ( |  | _qyy_fn,
|  |  | _qyy_arg1,
|  |  | _qyy_arg2,
|  |  | _qyy_arg3
| ) |  |

Value:
VALGRIND_DO_CLIENT_REQUEST_EXPR( 0 /* default return */, VG_USERREQ__CLIENT_CALL3, _qyy_fn, _qyy_arg1, _qyy_arg2, \
_qyy_arg3, 0 )
VG_USERREQ__CLIENT_CALL3
Definition: local_valgrind.h:4310
VALGRIND_DO_CLIENT_REQUEST_EXPR
#define VALGRIND_DO_CLIENT_REQUEST_EXPR(_zzq_default, _zzq_request, _zzq_arg1, _zzq_arg2, _zzq_arg3, _zzq_arg4, _zzq_arg5)
Definition: local_valgrind.h:191

Definition at line 4492 of file local_valgrind.h.

#define VALGRIND_RESIZEINPLACE_BLOCK | ( |  | addr,
|  |  | oldSizeB,
|  |  | newSizeB,
|  |  | rzB
| ) |  | VALGRIND_DO_CLIENT_REQUEST_STMT( VG_USERREQ__RESIZEINPLACE_BLOCK, addr, oldSizeB, newSizeB, rzB, 0 )

Definition at line 4609 of file local_valgrind.h.

#define VALGRIND_STACK_CHANGE | ( |  | id,
|  |  | start,
|  |  | end
| ) |  | VALGRIND_DO_CLIENT_REQUEST_STMT( VG_USERREQ__STACK_CHANGE, id, start, end, 0, 0 )

Definition at line 4659 of file local_valgrind.h.

#define VALGRIND_STACK_DEREGISTER | ( |  | id | ) | VALGRIND_DO_CLIENT_REQUEST_STMT( VG_USERREQ__STACK_DEREGISTER, id, 0, 0, 0, 0 )

Definition at line 4656 of file local_valgrind.h.

#define VALGRIND_STACK_REGISTER | ( |  | start,
|  |  | end
| ) |  | (unsigned)VALGRIND_DO_CLIENT_REQUEST_EXPR( 0, VG_USERREQ__STACK_REGISTER, start, end, 0, 0, 0 )

Definition at line 4651 of file local_valgrind.h.

#define VG_CONCAT4 | ( |  | _aa,
|  |  | _bb,
|  |  | _cc,
|  |  | _dd
| ) |  | _aa##_bb##_cc##_dd

Definition at line 828 of file local_valgrind.h.

#define VG_IS_TOOL_USERREQ | ( |  | a,
|  |  | b,
|  |  | v
| ) |  | ( VG_USERREQ_TOOL_BASE( a, b ) == ( (v)&0xffff0000 ) )

Definition at line 4292 of file local_valgrind.h.

#define VG_USERREQ_TOOL_BASE | ( |  | a,
|  |  | b
| ) |  | ( (unsigned int)( ( (a)&0xff ) << 24 | ( (b)&0xff ) << 16 ) )

Definition at line 4291 of file local_valgrind.h.

## Enumeration Type Documentation

enum Vg_ClientRequest

Enumerator
VG_USERREQ__RUNNING_ON_VALGRIND |
VG_USERREQ__DISCARD_TRANSLATIONS |
VG_USERREQ__CLIENT_CALL0 |
VG_USERREQ__CLIENT_CALL1 |
VG_USERREQ__CLIENT_CALL2 |
VG_USERREQ__CLIENT_CALL3 |
VG_USERREQ__COUNT_ERRORS |
VG_USERREQ__GDB_MONITOR_COMMAND |
VG_USERREQ__MALLOCLIKE_BLOCK |
VG_USERREQ__RESIZEINPLACE_BLOCK |
VG_USERREQ__FREELIKE_BLOCK |
VG_USERREQ__CREATE_MEMPOOL |
VG_USERREQ__DESTROY_MEMPOOL |
VG_USERREQ__MEMPOOL_ALLOC |
VG_USERREQ__MEMPOOL_FREE |
VG_USERREQ__MEMPOOL_TRIM |
VG_USERREQ__MOVE_MEMPOOL |
VG_USERREQ__MEMPOOL_CHANGE |
VG_USERREQ__MEMPOOL_EXISTS |
VG_USERREQ__PRINTF |
VG_USERREQ__PRINTF_BACKTRACE |
VG_USERREQ__PRINTF_VALIST_BY_REF |
VG_USERREQ__PRINTF_BACKTRACE_VALIST_BY_REF |
VG_USERREQ__STACK_REGISTER |
VG_USERREQ__STACK_DEREGISTER |
VG_USERREQ__STACK_CHANGE |
VG_USERREQ__LOAD_PDB_DEBUGINFO |
VG_USERREQ__MAP_IP_TO_SRCLOC |
VG_USERREQ__CHANGE_ERR_DISABLEMENT |
VG_USERREQ__VEX_INIT_FOR_IRI |

Definition at line 4298 of file local_valgrind.h.

4298 {
4299 VG_USERREQ__RUNNING_ON_VALGRIND = 0x1001,
4300 VG_USERREQ__DISCARD_TRANSLATIONS = 0x1002,
4301
4302 /* These allow any function to be called from the simulated
4303 CPU but run on the real CPU. Nb: the first arg passed to
4304 the function is always the ThreadId of the running
4305 thread! So CLIENT_CALL0 actually requires a 1 arg
4306 function, etc. */
4307 VG_USERREQ__CLIENT_CALL0 = 0x1101,
4308 VG_USERREQ__CLIENT_CALL1 = 0x1102,
4309 VG_USERREQ__CLIENT_CALL2 = 0x1103,
4310 VG_USERREQ__CLIENT_CALL3 = 0x1104,
4311
4312 /* Can be useful in regression testing suites -- eg. can
4313 send Valgrind's output to /dev/null and still count
4314 errors. */
4315 VG_USERREQ__COUNT_ERRORS = 0x1201,
4316
4317 /* Allows the client program and/or gdbserver to execute a monitor
4318 command. */
4319 VG_USERREQ__GDB_MONITOR_COMMAND = 0x1202,
4320
4321 /* These are useful and can be interpreted by any tool that
4322 tracks malloc() et al, by using vg_replace_malloc.c. */
4323 VG_USERREQ__MALLOCLIKE_BLOCK = 0x1301,
4324 VG_USERREQ__RESIZEINPLACE_BLOCK = 0x130b,
4325 VG_USERREQ__FREELIKE_BLOCK = 0x1302,
4326 /* Memory pool support. */
4327 VG_USERREQ__CREATE_MEMPOOL = 0x1303,
4328 VG_USERREQ__DESTROY_MEMPOOL = 0x1304,
4329 VG_USERREQ__MEMPOOL_ALLOC = 0x1305,
4330 VG_USERREQ__MEMPOOL_FREE = 0x1306,
4331 VG_USERREQ__MEMPOOL_TRIM = 0x1307,
4332 VG_USERREQ__MOVE_MEMPOOL = 0x1308,
4333 VG_USERREQ__MEMPOOL_CHANGE = 0x1309,
4334 VG_USERREQ__MEMPOOL_EXISTS = 0x130a,
4335
4336 /* Allow printfs to valgrind log. */
4337 /* The first two pass the va_list argument by value, which
4338 assumes it is the same size as or smaller than a UWord,
4339 which generally isn't the case. Hence are deprecated.
4340 The second two pass the vargs by reference and so are
4341 immune to this problem. */
4342 /* both :: char* fmt, va_list vargs (DEPRECATED) */
4343 VG_USERREQ__PRINTF = 0x1401,
4344 VG_USERREQ__PRINTF_BACKTRACE = 0x1402,
4345 /* both :: char* fmt, va_list* vargs */
4346 VG_USERREQ__PRINTF_VALIST_BY_REF = 0x1403,
4347 VG_USERREQ__PRINTF_BACKTRACE_VALIST_BY_REF = 0x1404,
4348
4349 /* Stack support. */
4350 VG_USERREQ__STACK_REGISTER = 0x1501,
4351 VG_USERREQ__STACK_DEREGISTER = 0x1502,
4352 VG_USERREQ__STACK_CHANGE = 0x1503,
4353
4354 /* Wine support */
4355 VG_USERREQ__LOAD_PDB_DEBUGINFO = 0x1601,
4356
4357 /* Querying of debug info. */
4358 VG_USERREQ__MAP_IP_TO_SRCLOC = 0x1701,
4359
4360 /* Disable/enable error reporting level. Takes a single
4361 Word arg which is the delta to this thread's error
4362 disablement indicator. Hence 1 disables or further
4363 disables errors, and -1 moves back towards enablement.
4364 Other values are not allowed. */
4365 VG_USERREQ__CHANGE_ERR_DISABLEMENT = 0x1801,
4366
4367 /* Initialise IR injection */
4368 VG_USERREQ__VEX_INIT_FOR_IRI = 0x1901
4369 } Vg_ClientRequest;
VG_USERREQ__MAP_IP_TO_SRCLOC
Definition: local_valgrind.h:4358
VG_USERREQ__DESTROY_MEMPOOL
Definition: local_valgrind.h:4328
VG_USERREQ__MEMPOOL_TRIM
Definition: local_valgrind.h:4331
VG_USERREQ__STACK_DEREGISTER
Definition: local_valgrind.h:4351
VG_USERREQ__DISCARD_TRANSLATIONS
Definition: local_valgrind.h:4300
VG_USERREQ__CLIENT_CALL3
Definition: local_valgrind.h:4310
VG_USERREQ__MALLOCLIKE_BLOCK
Definition: local_valgrind.h:4323
VG_USERREQ__PRINTF_VALIST_BY_REF
Definition: local_valgrind.h:4346
VG_USERREQ__FREELIKE_BLOCK
Definition: local_valgrind.h:4325
VG_USERREQ__CLIENT_CALL2
Definition: local_valgrind.h:4309
VG_USERREQ__MEMPOOL_CHANGE
Definition: local_valgrind.h:4333
VG_USERREQ__PRINTF_BACKTRACE_VALIST_BY_REF
Definition: local_valgrind.h:4347
VG_USERREQ__STACK_REGISTER
Definition: local_valgrind.h:4350
VG_USERREQ__CREATE_MEMPOOL
Definition: local_valgrind.h:4327
VG_USERREQ__COUNT_ERRORS
Definition: local_valgrind.h:4315
VG_USERREQ__LOAD_PDB_DEBUGINFO
Definition: local_valgrind.h:4355
VG_USERREQ__CLIENT_CALL0
Definition: local_valgrind.h:4307
VG_USERREQ__MOVE_MEMPOOL
Definition: local_valgrind.h:4332
VG_USERREQ__PRINTF
Definition: local_valgrind.h:4343
VG_USERREQ__CHANGE_ERR_DISABLEMENT
Definition: local_valgrind.h:4365
VG_USERREQ__PRINTF_BACKTRACE
Definition: local_valgrind.h:4344
VG_USERREQ__MEMPOOL_FREE
Definition: local_valgrind.h:4330
VG_USERREQ__RUNNING_ON_VALGRIND
Definition: local_valgrind.h:4299
Vg_ClientRequest
Vg_ClientRequest
Definition: local_valgrind.h:4298
VG_USERREQ__MEMPOOL_EXISTS
Definition: local_valgrind.h:4334
VG_USERREQ__MEMPOOL_ALLOC
Definition: local_valgrind.h:4329
VG_USERREQ__RESIZEINPLACE_BLOCK
Definition: local_valgrind.h:4324
VG_USERREQ__CLIENT_CALL1
Definition: local_valgrind.h:4308
VG_USERREQ__STACK_CHANGE
Definition: local_valgrind.h:4352
VG_USERREQ__GDB_MONITOR_COMMAND
Definition: local_valgrind.h:4319
VG_USERREQ__VEX_INIT_FOR_IRI
Definition: local_valgrind.h:4368