coroutine: Enable valgrind
authorDavid Gibson <david@gibson.dropbear.id.au>
Sat, 24 Dec 2016 10:08:55 +0000 (21:08 +1100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Tue, 24 Jan 2017 10:22:27 +0000 (21:22 +1100)
commitfe3995b4e626466ab211e37392f8500f1fffb5c7
tree162b1351a7bbc583969377b8dd93e23065eb880e
parentf6557ca6537bc4d37fb4be215184a632533ba4e7
coroutine: Enable valgrind

Currently valgrind checks are disabled on the coroutine module,
because switching stacks tends to confuse it.  We can work around this
by using the valgrind client interface to explicitly inform it about
the stacks we create.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
ccan/coroutine/_info
ccan/coroutine/coroutine.c
ccan/coroutine/coroutine.h