m_debuginfo/debuginfo.c VG_(get_fnname_kind) _start is below main
commit200b6a5a0ea3e1e154663b0fc575bfe2becf177d
authorMark Wielaard <mark@klomp.org>
Wed, 21 Jul 2021 15:55:40 +0000 (21 17:55 +0200)
committerMark Wielaard <mark@klomp.org>
Wed, 21 Jul 2021 15:56:06 +0000 (21 17:56 +0200)
treed1026773d65036a2b91fa56cc6430bce9ed0bfa7
parent6da22a4d246519cd1a638cfc7eff00cdd74413c4
m_debuginfo/debuginfo.c VG_(get_fnname_kind) _start is below main

With glibc 2.34 we might see the _start symbol as the frame that
called main instead of directly after __libc_start_main or
generic_start_main.

Fixes memcheck/tests/badjump[2], memcheck/tests/origin4-many,
helgrind/tests/tc04_free_lock, helgrind/tests/tc09_bad_unlock
and helgrind/tests/tc20_verifywrap.
coregrind/m_debuginfo/debuginfo.c