]> code.ossystems Code Review - openembedded-core.git/commit
valgrind: helgrind: Intercept libc functions
authorStacy Gaikovaia <Stacy.Gaikovaia@windriver.com>
Fri, 20 Nov 2020 19:51:55 +0000 (11:51 -0800)
committerAnuj Mittal <anuj.mittal@intel.com>
Wed, 25 Nov 2020 15:04:47 +0000 (23:04 +0800)
commit4c33ce1b1eca9aff0009bf71ce50f6398f7cd281
tree5103ea64e9ea8990c7fc7c2f49d4fe7760047e60
parentaf5a68b545fda9013bbe8f07a2175a04e950d768
valgrind: helgrind: Intercept libc functions

PTH_FUNC definition needs to be modified in order to
intercept posix thread functions in both libc and libpthread.
In order to handle this in helgrind, weak alias the pthread functions in glibc.
Include a special case for musl.

See https://bugs.kde.org/show_bug.cgi?id=428909 for additional
discussion.

Upstream-Status: Submitted

Signed-off-by: Paul Floyd <paulf@free.fr>
Signed-off-by: Stacy Gaikovaia <Stacy.Gaikovaia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5da46a552d54de34a5243e1d90dcc6f52b7af746)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
meta/recipes-devtools/valgrind/valgrind/0001-helgrind-Intercept-libc-functions.patch [new file with mode: 0644]
meta/recipes-devtools/valgrind/valgrind_3.16.1.bb