]> git.ipfire.org Git - thirdparty/valgrind.git/commit
Factor out VG_(exit_now) to contain the syscall incantation to terminate
authorFlorian Krohm <florian@eich-krohm.de>
Thu, 24 Jul 2014 12:46:28 +0000 (12:46 +0000)
committerFlorian Krohm <florian@eich-krohm.de>
Thu, 24 Jul 2014 12:46:28 +0000 (12:46 +0000)
commit3b541640b8da8172e4160c52bfcab1e8453e618f
tree1faf54e907b9a909b92d8b66064424241cfd0300
parente05579cd674e2e2dc20c458ce0080dfc5269419b
Factor out VG_(exit_now) to contain the syscall incantation to terminate
the process. Make ML_(am_exit) and VG_(exit) use it, thereby avoiding
double maintenance.
Introduce libcbase_assert macro and use it in VG_(strncpy_safely) to
document the case that function cannot handle.
Add stub functions to memcheck/tests/unit_libcbase.c to satisfy new
dependencies.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14185
coregrind/m_aspacemgr/aspacemgr-common.c
coregrind/m_aspacemgr/priv_aspacemgr.h
coregrind/m_libcassert.c
coregrind/m_libcbase.c
coregrind/pub_core_libcassert.h
memcheck/tests/unit_libcbase.c