]> git.ipfire.org Git - thirdparty/valgrind.git/commit
Fix lazy debuginfo loading on ppc64le
authorAaron Merey <amerey@redhat.com>
Wed, 30 Aug 2023 18:49:09 +0000 (14:49 -0400)
committerMark Wielaard <mark@klomp.org>
Fri, 1 Sep 2023 23:00:04 +0000 (01:00 +0200)
commita01d8e01fceb9e8e1c5fba67d9322fb2c45e9c83
treebdb16c66be2911c8180e140d17d2a1c5e61dd6ad
parentc0b2c786d38002a20f845a9fb739b8659fa87bcc
Fix lazy debuginfo loading on ppc64le

Lazy debuginfo loading introduced in commit 60f7e89ba32 assumed that
either describe_IP or find_DiCfSI will be called before stacktrace
printing.  describe_IP and find_DiCfSI cause debuginfo to be lazily
loaded before symtab lookup occurs during stacktraces.

However this assumption does not hold true on ppc64le, resulting
in debuginfo failing to load in time for stacktraces.  Fix this
by loading debuginfo during get_StackTrace_wrk on ppc arches.
coregrind/m_stacktrace.c