coregrind: Vg_FnNameKind recognize __libc_start_call_main as below main
commitecc22f252fe081200a3a123efafac0bf3aff53f3
authorMark Wielaard <mark@klomp.org>
Wed, 13 Oct 2021 15:05:29 +0000 (13 17:05 +0200)
committerMark Wielaard <mark@klomp.org>
Wed, 13 Oct 2021 15:13:39 +0000 (13 17:13 +0200)
tree70868885077900ad6d89f2c26d276a5e9ef02cdf
parenteb41d3be47aafe6458c9ce3e006da83d9f60b1a6
coregrind: Vg_FnNameKind recognize __libc_start_call_main as below main

Depending on architecture glibc has various functions that set things
up to call "main". glibc 2.34 added  __libc_start_call_main (at least
on ppc64le and s390x). Other variants recognized are __libc_start_main,
generic_start_main and variants of those names.

This fixes the massif/tests/deep-D and massif/tests/mmapunmap on ppc64le.
coregrind/m_debuginfo/debuginfo.c