mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-03 18:13:01 +00:00
DARWIN sync wibble.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9929
This commit is contained in:
parent
6311a67c7e
commit
8c62b7fd36
@ -155,6 +155,7 @@ MC_Chunk* create_MC_Chunk ( ExeContext* ec, Addr p, SizeT szB,
|
||||
/*--- client_malloc(), etc ---*/
|
||||
/*------------------------------------------------------------*/
|
||||
|
||||
// XXX: should make this a proper error (bug #79311).
|
||||
static Bool complain_about_silly_args(SizeT sizeB, Char* fn)
|
||||
{
|
||||
// Cast to a signed type to catch any unexpectedly negative args. We're
|
||||
@ -487,6 +488,7 @@ SizeT MC_(malloc_usable_size) ( ThreadId tid, void* p )
|
||||
return ( mc ? mc->szB : 0 );
|
||||
}
|
||||
|
||||
|
||||
/* Memory pool stuff. */
|
||||
|
||||
void MC_(create_mempool)(Addr pool, UInt rzB, Bool is_zeroed)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user