| The Gaudi Framework v28r2p1 (f1a77ff4)

- 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
#define | VALGRIND_DISCARD_TRANSLATIONS(_qzz_addr, _qzz_len)
#define | VALGRIND_NON_SIMD_CALL0(_qyy_fn)
#define | VALGRIND_NON_SIMD_CALL1(_qyy_fn, _qyy_arg1)
#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
#define | VALGRIND_MALLOCLIKE_BLOCK(addr, sizeB, rzB, is_zeroed)
#define | VALGRIND_RESIZEINPLACE_BLOCK(addr, oldSizeB, newSizeB, rzB)
#define | VALGRIND_FREELIKE_BLOCK(addr, rzB)
#define | VALGRIND_CREATE_MEMPOOL(pool, rzB, is_zeroed)
#define | VALGRIND_DESTROY_MEMPOOL(pool)
#define | VALGRIND_MEMPOOL_ALLOC(pool, addr, size)
#define | VALGRIND_MEMPOOL_FREE(pool, addr)
#define | VALGRIND_MEMPOOL_TRIM(pool, addr, size)
#define | VALGRIND_MOVE_MEMPOOL(poolA, poolB)
#define | VALGRIND_MEMPOOL_CHANGE(pool, addrA, addrB, size)
#define | VALGRIND_MEMPOOL_EXISTS(pool)
#define | VALGRIND_STACK_REGISTER(start, end)
#define | VALGRIND_STACK_DEREGISTER(id)
#define | VALGRIND_STACK_CHANGE(id, start, end)
#define | VALGRIND_LOAD_PDB_DEBUGINFO(fd, ptr, total_size, delta)
#define | VALGRIND_MAP_IP_TO_SRCLOC(addr, buf64)
#define | VALGRIND_DISABLE_ERROR_REPORTING
#define | VALGRIND_ENABLE_ERROR_REPORTING
#define | VALGRIND_MONITOR_COMMAND(command)

## 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 5016 of file local_valgrind.h.

#define __VALGRIND_MAJOR__ 3

Definition at line 91 of file local_valgrind.h.

#define __VALGRIND_MINOR__ 8

Definition at line 92 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 961 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 965 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 969 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 941 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 945 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 949 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 953 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 957 of file local_valgrind.h.

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

Definition at line 932 of file local_valgrind.h.

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

Definition at line 935 of file local_valgrind.h.

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

Definition at line 914 of file local_valgrind.h.

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

Definition at line 917 of file local_valgrind.h.

#define NVALGRIND 1

Definition at line 156 of file local_valgrind.h.

#define RUNNING_ON_VALGRIND

Value:
(unsigned)VALGRIND_DO_CLIENT_REQUEST_EXPR(0 /* if not */, \
VG_USERREQ__RUNNING_ON_VALGRIND, \
0, 0, 0, 0, 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:197
VG_USERREQ__RUNNING_ON_VALGRIND
Definition: local_valgrind.h:4943

Definition at line 5024 of file local_valgrind.h.

#define VALGRIND_COUNT_ERRORS

Value:
(unsigned)VALGRIND_DO_CLIENT_REQUEST_EXPR( \
0 /* default return */, \
VG_USERREQ__COUNT_ERRORS, \
0, 0, 0, 0, 0)
VG_USERREQ__COUNT_ERRORS
Definition: local_valgrind.h:4959
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:197

Definition at line 5175 of file local_valgrind.h.

#define VALGRIND_CREATE_MEMPOOL | ( |  | pool,
|  |  | rzB,
|  |  | is_zeroed
| ) |  |

Value:
VALGRIND_DO_CLIENT_REQUEST_STMT(VG_USERREQ__CREATE_MEMPOOL, \
pool, rzB, is_zeroed, 0, 0)
VALGRIND_DO_CLIENT_REQUEST_STMT
#define VALGRIND_DO_CLIENT_REQUEST_STMT(_zzq_request, _zzq_arg1, _zzq_arg2, _zzq_arg3, _zzq_arg4, _zzq_arg5)
Definition: local_valgrind.h:186
VG_USERREQ__CREATE_MEMPOOL
Definition: local_valgrind.h:4971
pool
Definition: PoolClasses.h:7

Definition at line 5301 of file local_valgrind.h.

#define VALGRIND_DESTROY_MEMPOOL | ( |  | pool | ) |

Value:
VALGRIND_DO_CLIENT_REQUEST_STMT(VG_USERREQ__DESTROY_MEMPOOL, \
pool, 0, 0, 0, 0)
VG_USERREQ__DESTROY_MEMPOOL
Definition: local_valgrind.h:4972
VALGRIND_DO_CLIENT_REQUEST_STMT
#define VALGRIND_DO_CLIENT_REQUEST_STMT(_zzq_request, _zzq_arg1, _zzq_arg2, _zzq_arg3, _zzq_arg4, _zzq_arg5)
Definition: local_valgrind.h:186
pool
Definition: PoolClasses.h:7

Definition at line 5306 of file local_valgrind.h.

#define VALGRIND_DISABLE_ERROR_REPORTING

Value:
VALGRIND_DO_CLIENT_REQUEST_STMT(VG_USERREQ__CHANGE_ERR_DISABLEMENT, \
1, 0, 0, 0, 0)
VALGRIND_DO_CLIENT_REQUEST_STMT
#define VALGRIND_DO_CLIENT_REQUEST_STMT(_zzq_request, _zzq_arg1, _zzq_arg2, _zzq_arg3, _zzq_arg4, _zzq_arg5)
Definition: local_valgrind.h:186
VG_USERREQ__CHANGE_ERR_DISABLEMENT
Definition: local_valgrind.h:5009

Definition at line 5380 of file local_valgrind.h.

#define VALGRIND_DISCARD_TRANSLATIONS | ( |  | _qzz_addr,
|  |  | _qzz_len
| ) |  |

Value:
VALGRIND_DO_CLIENT_REQUEST_STMT(VG_USERREQ__DISCARD_TRANSLATIONS, \
_qzz_addr, _qzz_len, 0, 0, 0)
VG_USERREQ__DISCARD_TRANSLATIONS
Definition: local_valgrind.h:4944
VALGRIND_DO_CLIENT_REQUEST_STMT
#define VALGRIND_DO_CLIENT_REQUEST_STMT(_zzq_request, _zzq_arg1, _zzq_arg2, _zzq_arg3, _zzq_arg4, _zzq_arg5)
Definition: local_valgrind.h:186

Definition at line 5034 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:197

Definition at line 179 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 197 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:19
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:197

Definition at line 186 of file local_valgrind.h.

#define VALGRIND_ENABLE_ERROR_REPORTING

Value:
VALGRIND_DO_CLIENT_REQUEST_STMT(VG_USERREQ__CHANGE_ERR_DISABLEMENT, \
-1, 0, 0, 0, 0)
VALGRIND_DO_CLIENT_REQUEST_STMT
#define VALGRIND_DO_CLIENT_REQUEST_STMT(_zzq_request, _zzq_arg1, _zzq_arg2, _zzq_arg3, _zzq_arg4, _zzq_arg5)
Definition: local_valgrind.h:186
VG_USERREQ__CHANGE_ERR_DISABLEMENT
Definition: local_valgrind.h:5009

Definition at line 5386 of file local_valgrind.h.

#define VALGRIND_FREELIKE_BLOCK | ( |  | addr,
|  |  | rzB
| ) |  |

Value:
VALGRIND_DO_CLIENT_REQUEST_STMT(VG_USERREQ__FREELIKE_BLOCK, \
addr, rzB, 0, 0, 0)
VG_USERREQ__FREELIKE_BLOCK
Definition: local_valgrind.h:4969
VALGRIND_DO_CLIENT_REQUEST_STMT
#define VALGRIND_DO_CLIENT_REQUEST_STMT(_zzq_request, _zzq_arg1, _zzq_arg2, _zzq_arg3, _zzq_arg4, _zzq_arg5)
Definition: local_valgrind.h:186

Definition at line 5296 of file local_valgrind.h.

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

Definition at line 924 of file local_valgrind.h.

#define VALGRIND_LOAD_PDB_DEBUGINFO | ( |  | fd,
|  |  | ptr,
|  |  | total_size,
|  |  | delta
| ) |  |

Value:
VALGRIND_DO_CLIENT_REQUEST_STMT(VG_USERREQ__LOAD_PDB_DEBUGINFO, \
fd, ptr, total_size, delta, 0)
gaudirun.fd
fd
Definition: gaudirun.py:459
VALGRIND_DO_CLIENT_REQUEST_STMT
#define VALGRIND_DO_CLIENT_REQUEST_STMT(_zzq_request, _zzq_arg1, _zzq_arg2, _zzq_arg3, _zzq_arg4, _zzq_arg5)
Definition: local_valgrind.h:186
VG_USERREQ__LOAD_PDB_DEBUGINFO
Definition: local_valgrind.h:4999

Definition at line 5359 of file local_valgrind.h.

#define VALGRIND_MALLOCLIKE_BLOCK | ( |  | addr,
|  |  | sizeB,
|  |  | rzB,
|  |  | is_zeroed
| ) |  |

Value:
VALGRIND_DO_CLIENT_REQUEST_STMT(VG_USERREQ__MALLOCLIKE_BLOCK, \
addr, sizeB, rzB, is_zeroed, 0)
VG_USERREQ__MALLOCLIKE_BLOCK
Definition: local_valgrind.h:4967
VALGRIND_DO_CLIENT_REQUEST_STMT
#define VALGRIND_DO_CLIENT_REQUEST_STMT(_zzq_request, _zzq_arg1, _zzq_arg2, _zzq_arg3, _zzq_arg4, _zzq_arg5)
Definition: local_valgrind.h:186

Definition at line 5282 of file local_valgrind.h.

#define VALGRIND_MAP_IP_TO_SRCLOC | ( |  | addr,
|  |  | buf64
| ) |  |

Value:
(unsigned)VALGRIND_DO_CLIENT_REQUEST_EXPR(0, \
VG_USERREQ__MAP_IP_TO_SRCLOC, \
addr, buf64, 0, 0, 0)
VG_USERREQ__MAP_IP_TO_SRCLOC
Definition: local_valgrind.h:5002
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:197

Definition at line 5367 of file local_valgrind.h.

#define VALGRIND_MEMPOOL_ALLOC | ( |  | pool,
|  |  | addr,
|  |  | size
| ) |  |

Value:
VALGRIND_DO_CLIENT_REQUEST_STMT(VG_USERREQ__MEMPOOL_ALLOC, \
pool, addr, size, 0, 0)
VALGRIND_DO_CLIENT_REQUEST_STMT
#define VALGRIND_DO_CLIENT_REQUEST_STMT(_zzq_request, _zzq_arg1, _zzq_arg2, _zzq_arg3, _zzq_arg4, _zzq_arg5)
Definition: local_valgrind.h:186
pool
Definition: PoolClasses.h:7
VG_USERREQ__MEMPOOL_ALLOC
Definition: local_valgrind.h:4973

Definition at line 5311 of file local_valgrind.h.

#define VALGRIND_MEMPOOL_CHANGE | ( |  | pool,
|  |  | addrA,
|  |  | addrB,
|  |  | size
| ) |  |

Value:
VALGRIND_DO_CLIENT_REQUEST_STMT(VG_USERREQ__MEMPOOL_CHANGE, \
pool, addrA, addrB, size, 0)
VG_USERREQ__MEMPOOL_CHANGE
Definition: local_valgrind.h:4977
VALGRIND_DO_CLIENT_REQUEST_STMT
#define VALGRIND_DO_CLIENT_REQUEST_STMT(_zzq_request, _zzq_arg1, _zzq_arg2, _zzq_arg3, _zzq_arg4, _zzq_arg5)
Definition: local_valgrind.h:186
pool
Definition: PoolClasses.h:7

Definition at line 5331 of file local_valgrind.h.

#define VALGRIND_MEMPOOL_EXISTS | ( |  | pool | ) |

Value:
(unsigned)VALGRIND_DO_CLIENT_REQUEST_EXPR(0, \
VG_USERREQ__MEMPOOL_EXISTS, \
pool, 0, 0, 0, 0)
pool
Definition: PoolClasses.h:7
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:197
VG_USERREQ__MEMPOOL_EXISTS
Definition: local_valgrind.h:4978

Definition at line 5336 of file local_valgrind.h.

#define VALGRIND_MEMPOOL_FREE | ( |  | pool,
|  |  | addr
| ) |  |

Value:
VALGRIND_DO_CLIENT_REQUEST_STMT(VG_USERREQ__MEMPOOL_FREE, \
pool, addr, 0, 0, 0)
VALGRIND_DO_CLIENT_REQUEST_STMT
#define VALGRIND_DO_CLIENT_REQUEST_STMT(_zzq_request, _zzq_arg1, _zzq_arg2, _zzq_arg3, _zzq_arg4, _zzq_arg5)
Definition: local_valgrind.h:186
pool
Definition: PoolClasses.h:7
VG_USERREQ__MEMPOOL_FREE
Definition: local_valgrind.h:4974

Definition at line 5316 of file local_valgrind.h.

#define VALGRIND_MEMPOOL_TRIM | ( |  | pool,
|  |  | addr,
|  |  | size
| ) |  |

Value:
VALGRIND_DO_CLIENT_REQUEST_STMT(VG_USERREQ__MEMPOOL_TRIM, \
pool, addr, size, 0, 0)
VG_USERREQ__MEMPOOL_TRIM
Definition: local_valgrind.h:4975
VALGRIND_DO_CLIENT_REQUEST_STMT
#define VALGRIND_DO_CLIENT_REQUEST_STMT(_zzq_request, _zzq_arg1, _zzq_arg2, _zzq_arg3, _zzq_arg4, _zzq_arg5)
Definition: local_valgrind.h:186
pool
Definition: PoolClasses.h:7

Definition at line 5321 of file local_valgrind.h.

#define VALGRIND_MONITOR_COMMAND | ( |  | command | ) |

Value:
VALGRIND_DO_CLIENT_REQUEST_EXPR(0, VG_USERREQ__GDB_MONITOR_COMMAND, \
command, 0, 0, 0, 0)
brunelWrapper.command
string command
Definition: brunelWrapper.py:85
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:197
VG_USERREQ__GDB_MONITOR_COMMAND
Definition: local_valgrind.h:4963

Definition at line 5395 of file local_valgrind.h.

#define VALGRIND_MOVE_MEMPOOL | ( |  | poolA,
|  |  | poolB
| ) |  |

Value:
VALGRIND_DO_CLIENT_REQUEST_STMT(VG_USERREQ__MOVE_MEMPOOL, \
poolA, poolB, 0, 0, 0)
VALGRIND_DO_CLIENT_REQUEST_STMT
#define VALGRIND_DO_CLIENT_REQUEST_STMT(_zzq_request, _zzq_arg1, _zzq_arg2, _zzq_arg3, _zzq_arg4, _zzq_arg5)
Definition: local_valgrind.h:186
VG_USERREQ__MOVE_MEMPOOL
Definition: local_valgrind.h:4976

Definition at line 5326 of file local_valgrind.h.

#define VALGRIND_NON_SIMD_CALL0 | ( |  | _qyy_fn | ) |

Value:
VALGRIND_DO_CLIENT_REQUEST_EXPR(0 /* default return */, \
VG_USERREQ__CLIENT_CALL0, \
_qyy_fn, \
0, 0, 0, 0)
VG_USERREQ__CLIENT_CALL0
Definition: local_valgrind.h:4951
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:197

Definition at line 5146 of file local_valgrind.h.

#define VALGRIND_NON_SIMD_CALL1 | ( |  | _qyy_fn,
|  |  | _qyy_arg1
| ) |  |

Value:
VALGRIND_DO_CLIENT_REQUEST_EXPR(0 /* default return */, \
VG_USERREQ__CLIENT_CALL1, \
_qyy_fn, \
_qyy_arg1, 0, 0, 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:197
VG_USERREQ__CLIENT_CALL1
Definition: local_valgrind.h:4952

Definition at line 5152 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:4953
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:197

Definition at line 5158 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:4954
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:197

Definition at line 5164 of file local_valgrind.h.

#define VALGRIND_RESIZEINPLACE_BLOCK | ( |  | addr,
|  |  | oldSizeB,
|  |  | newSizeB,
|  |  | rzB
| ) |  |

Value:
VALGRIND_DO_CLIENT_REQUEST_STMT(VG_USERREQ__RESIZEINPLACE_BLOCK, \
addr, oldSizeB, newSizeB, rzB, 0)
VALGRIND_DO_CLIENT_REQUEST_STMT
#define VALGRIND_DO_CLIENT_REQUEST_STMT(_zzq_request, _zzq_arg1, _zzq_arg2, _zzq_arg3, _zzq_arg4, _zzq_arg5)
Definition: local_valgrind.h:186
VG_USERREQ__RESIZEINPLACE_BLOCK
Definition: local_valgrind.h:4968

Definition at line 5289 of file local_valgrind.h.

#define VALGRIND_STACK_CHANGE | ( |  | id,
|  |  | start,
|  |  | end
| ) |  |

Value:
VALGRIND_DO_CLIENT_REQUEST_STMT(VG_USERREQ__STACK_CHANGE, \
id, start, end, 0, 0)
VALGRIND_DO_CLIENT_REQUEST_STMT
#define VALGRIND_DO_CLIENT_REQUEST_STMT(_zzq_request, _zzq_arg1, _zzq_arg2, _zzq_arg3, _zzq_arg4, _zzq_arg5)
Definition: local_valgrind.h:186
IOTest.start
start
Definition: IOTest.py:88
end
auto end(reverse_wrapper< T > &w)
Definition: reverse.h:50
VG_USERREQ__STACK_CHANGE
Definition: local_valgrind.h:4996

Definition at line 5354 of file local_valgrind.h.

#define VALGRIND_STACK_DEREGISTER | ( |  | id | ) |

Value:
VALGRIND_DO_CLIENT_REQUEST_STMT(VG_USERREQ__STACK_DEREGISTER, \
id, 0, 0, 0, 0)
VG_USERREQ__STACK_DEREGISTER
Definition: local_valgrind.h:4995
VALGRIND_DO_CLIENT_REQUEST_STMT
#define VALGRIND_DO_CLIENT_REQUEST_STMT(_zzq_request, _zzq_arg1, _zzq_arg2, _zzq_arg3, _zzq_arg4, _zzq_arg5)
Definition: local_valgrind.h:186

Definition at line 5349 of file local_valgrind.h.

#define VALGRIND_STACK_REGISTER | ( |  | start,
|  |  | end
| ) |  |

Value:
(unsigned)VALGRIND_DO_CLIENT_REQUEST_EXPR(0, \
VG_USERREQ__STACK_REGISTER, \
start, end, 0, 0, 0)
VG_USERREQ__STACK_REGISTER
Definition: local_valgrind.h:4994
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:197
IOTest.start
start
Definition: IOTest.py:88
end
auto end(reverse_wrapper< T > &w)
Definition: reverse.h:50

Definition at line 5342 of file local_valgrind.h.

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

Definition at line 912 of file local_valgrind.h.

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

Definition at line 4935 of file local_valgrind.h.

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

Definition at line 4933 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 4942 of file local_valgrind.h.

4943 { VG_USERREQ__RUNNING_ON_VALGRIND = 0x1001,
4944 VG_USERREQ__DISCARD_TRANSLATIONS = 0x1002,
4945
4946 /* These allow any function to be called from the simulated
4947 CPU but run on the real CPU. Nb: the first arg passed to
4948 the function is always the ThreadId of the running
4949 thread! So CLIENT_CALL0 actually requires a 1 arg
4950 function, etc. */
4951 VG_USERREQ__CLIENT_CALL0 = 0x1101,
4952 VG_USERREQ__CLIENT_CALL1 = 0x1102,
4953 VG_USERREQ__CLIENT_CALL2 = 0x1103,
4954 VG_USERREQ__CLIENT_CALL3 = 0x1104,
4955
4956 /* Can be useful in regression testing suites -- eg. can
4957 send Valgrind's output to /dev/null and still count
4958 errors. */
4959 VG_USERREQ__COUNT_ERRORS = 0x1201,
4960
4961 /* Allows the client program and/or gdbserver to execute a monitor
4962 command. */
4963 VG_USERREQ__GDB_MONITOR_COMMAND = 0x1202,
4964
4965 /* These are useful and can be interpreted by any tool that
4966 tracks malloc() et al, by using vg_replace_malloc.c. */
4967 VG_USERREQ__MALLOCLIKE_BLOCK = 0x1301,
4968 VG_USERREQ__RESIZEINPLACE_BLOCK = 0x130b,
4969 VG_USERREQ__FREELIKE_BLOCK = 0x1302,
4970 /* Memory pool support. */
4971 VG_USERREQ__CREATE_MEMPOOL = 0x1303,
4972 VG_USERREQ__DESTROY_MEMPOOL = 0x1304,
4973 VG_USERREQ__MEMPOOL_ALLOC = 0x1305,
4974 VG_USERREQ__MEMPOOL_FREE = 0x1306,
4975 VG_USERREQ__MEMPOOL_TRIM = 0x1307,
4976 VG_USERREQ__MOVE_MEMPOOL = 0x1308,
4977 VG_USERREQ__MEMPOOL_CHANGE = 0x1309,
4978 VG_USERREQ__MEMPOOL_EXISTS = 0x130a,
4979
4980 /* Allow printfs to valgrind log. */
4981 /* The first two pass the va_list argument by value, which
4982 assumes it is the same size as or smaller than a UWord,
4983 which generally isn't the case. Hence are deprecated.
4984 The second two pass the vargs by reference and so are
4985 immune to this problem. */
4986 /* both :: char* fmt, va_list vargs (DEPRECATED) */
4987 VG_USERREQ__PRINTF = 0x1401,
4988 VG_USERREQ__PRINTF_BACKTRACE = 0x1402,
4989 /* both :: char* fmt, va_list* vargs */
4990 VG_USERREQ__PRINTF_VALIST_BY_REF = 0x1403,
4991 VG_USERREQ__PRINTF_BACKTRACE_VALIST_BY_REF = 0x1404,
4992
4993 /* Stack support. */
4994 VG_USERREQ__STACK_REGISTER = 0x1501,
4995 VG_USERREQ__STACK_DEREGISTER = 0x1502,
4996 VG_USERREQ__STACK_CHANGE = 0x1503,
4997
4998 /* Wine support */
4999 VG_USERREQ__LOAD_PDB_DEBUGINFO = 0x1601,
5000
5001 /* Querying of debug info. */
5002 VG_USERREQ__MAP_IP_TO_SRCLOC = 0x1701,
5003
5004 /* Disable/enable error reporting level. Takes a single
5005 Word arg which is the delta to this thread's error
5006 disablement indicator. Hence 1 disables or further
5007 disables errors, and -1 moves back towards enablement.
5008 Other values are not allowed. */
5009 VG_USERREQ__CHANGE_ERR_DISABLEMENT = 0x1801,
5010
5011 /* Initialise IR injection */
5012 VG_USERREQ__VEX_INIT_FOR_IRI = 0x1901
5013 } Vg_ClientRequest;
VG_USERREQ__MAP_IP_TO_SRCLOC
Definition: local_valgrind.h:5002
VG_USERREQ__DESTROY_MEMPOOL
Definition: local_valgrind.h:4972
VG_USERREQ__MEMPOOL_TRIM
Definition: local_valgrind.h:4975
VG_USERREQ__STACK_DEREGISTER
Definition: local_valgrind.h:4995
VG_USERREQ__DISCARD_TRANSLATIONS
Definition: local_valgrind.h:4944
VG_USERREQ__CLIENT_CALL3
Definition: local_valgrind.h:4954
VG_USERREQ__MALLOCLIKE_BLOCK
Definition: local_valgrind.h:4967
VG_USERREQ__PRINTF_VALIST_BY_REF
Definition: local_valgrind.h:4990
VG_USERREQ__FREELIKE_BLOCK
Definition: local_valgrind.h:4969
VG_USERREQ__CLIENT_CALL2
Definition: local_valgrind.h:4953
VG_USERREQ__MEMPOOL_CHANGE
Definition: local_valgrind.h:4977
VG_USERREQ__PRINTF_BACKTRACE_VALIST_BY_REF
Definition: local_valgrind.h:4991
VG_USERREQ__STACK_REGISTER
Definition: local_valgrind.h:4994
VG_USERREQ__CREATE_MEMPOOL
Definition: local_valgrind.h:4971
VG_USERREQ__COUNT_ERRORS
Definition: local_valgrind.h:4959
VG_USERREQ__LOAD_PDB_DEBUGINFO
Definition: local_valgrind.h:4999
VG_USERREQ__CLIENT_CALL0
Definition: local_valgrind.h:4951
VG_USERREQ__MOVE_MEMPOOL
Definition: local_valgrind.h:4976
VG_USERREQ__PRINTF
Definition: local_valgrind.h:4987
VG_USERREQ__CHANGE_ERR_DISABLEMENT
Definition: local_valgrind.h:5009
VG_USERREQ__PRINTF_BACKTRACE
Definition: local_valgrind.h:4988
VG_USERREQ__MEMPOOL_FREE
Definition: local_valgrind.h:4974
VG_USERREQ__RUNNING_ON_VALGRIND
Definition: local_valgrind.h:4943
Vg_ClientRequest
Vg_ClientRequest
Definition: local_valgrind.h:4942
VG_USERREQ__MEMPOOL_EXISTS
Definition: local_valgrind.h:4978
VG_USERREQ__MEMPOOL_ALLOC
Definition: local_valgrind.h:4973
VG_USERREQ__RESIZEINPLACE_BLOCK
Definition: local_valgrind.h:4968
VG_USERREQ__CLIENT_CALL1
Definition: local_valgrind.h:4952
VG_USERREQ__STACK_CHANGE
Definition: local_valgrind.h:4996
VG_USERREQ__GDB_MONITOR_COMMAND
Definition: local_valgrind.h:4963
VG_USERREQ__VEX_INIT_FOR_IRI
Definition: local_valgrind.h:5012