]> code.ossystems Code Review - openembedded-core.git/commit
valgrind: Skip vgpreload_memcheck shared object from stripping
authorKhem Raj <raj.khem@gmail.com>
Tue, 4 Dec 2018 04:51:35 +0000 (20:51 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 5 Dec 2018 12:28:55 +0000 (12:28 +0000)
commit23da8f50b1e0a74777035c9f7b65b81456908f9f
treeedfdacfa5315e9b1559dfd3c217fbfb5f9943ba3
parent33fba601a7365aced9f4b206c1fadda997076d4c
valgrind: Skip vgpreload_memcheck shared object from stripping

This is a special library for memcheck tool, where it needs to have the
symbols intact for the stack traces to work on target, current option is
to install valgrind-dbg ( 151 MB uncompressed ) is quite big for some
systems which may not have space to install it all. Leaving it
unstripped adds about 200KB to image which is much better, this alone
gets memcheck working, as an aside we might need same solution for other
tools e.g. helgrind etc. when needed, they also have leading libraries
installed

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/valgrind/valgrind_3.14.0.bb