]> 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)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 24 Nov 2020 10:27:39 +0000 (10:27 +0000)
commit5da46a552d54de34a5243e1d90dcc6f52b7af746
treee3582ae6fa432c87a99c655457fc670e2a77c52c
parent1e6529950257ab13b4c6c36d706ef294e61b883b
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>
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