|
From: Nicholas N. <nj...@cs...> - 2005-05-30 19:41:50
|
On Mon, 30 May 2005, Robert Walsh wrote: > * id = VALGRIND_STACK_NEW(start, end) registers the memory between > start and end as a new stack and returns an id you can use for > the other client requests described below. This doesn't > allocate memory or anything - it just records that a particular > memory range is a stack. > > * VALGRIND_STACK_DELETE(id) removes the stack association for > stack "id". This doesn't free memory or anything - it just > tells Valgrind that the piece of memory register earlier is no > longer a stack. Perhaps VALGRIND_STACK_REGISTER and VALGRIND_STACK_DEREGISTER would be better names? You'd avoid the confusion with memory allocation. N |