mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-07 20:50:56 +00:00
Moved two define's, such that the ABIWARNING appears immediately before the enum declaration it applies to.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8884
This commit is contained in:
parent
2b296eff40
commit
d69b1fc884
20
drd/drd.h
20
drd/drd.h
@ -68,17 +68,6 @@
|
||||
which use client requests. DO NOT CHANGE THE ORDER OF THESE
|
||||
ENTRIES, NOR DELETE ANY -- add new ones at the end.
|
||||
*/
|
||||
|
||||
|
||||
/** Tell DRD to suppress data race detection on the specified variable. */
|
||||
#define DRD_IGNORE_VAR(x) vg_drd_ignore_range(&(x), sizeof(x))
|
||||
|
||||
/** Tell DRD to trace all memory accesses on the specified variable.
|
||||
* until the memory that was allocated for the variable is freed.
|
||||
*/
|
||||
#define DRD_TRACE_VAR(x) vg_drd_trace_range(&(x), sizeof(x))
|
||||
|
||||
|
||||
enum
|
||||
{
|
||||
/* Ask the core the thread ID assigned by Valgrind. */
|
||||
@ -106,6 +95,15 @@ enum
|
||||
};
|
||||
|
||||
|
||||
/** Tell DRD to suppress data race detection on the specified variable. */
|
||||
#define DRD_IGNORE_VAR(x) vg_drd_ignore_range(&(x), sizeof(x))
|
||||
|
||||
/** Tell DRD to trace all memory accesses on the specified variable.
|
||||
* until the memory that was allocated for the variable is freed.
|
||||
*/
|
||||
#define DRD_TRACE_VAR(x) vg_drd_trace_range(&(x), sizeof(x))
|
||||
|
||||
|
||||
static __inline__
|
||||
int vg_get_valgrind_threadid(void)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user