base: If valgrind is available, tell it about Fiber stacks.
Valgrind can get confused when switching stacks between different
Fibers. If valgrind (and its headers) are available, this change adds
calls to some hooks so valgrind knows where the new stacks are and
doesn't report a bunch of false positives.
Reviewed-by: Giacomo Travaglini <firstname.lastname@example.org>
Reviewed-by: Daniel Carvalho <email@example.com>
Maintainer: Gabe Black <firstname.lastname@example.org>
3 files changed