]> git.ipfire.org Git - thirdparty/valgrind.git/commit
Handle properly the case of an inlined call that has no abstract origin attribute.
authorPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Sat, 24 Feb 2018 17:31:45 +0000 (18:31 +0100)
committerPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Sat, 24 Feb 2018 17:31:45 +0000 (18:31 +0100)
commitb0c12db82a210511efb5ff4218803e8159437a41
tree1c952b59f75a52f6c7093c22b1fac0ed52993587
parentc014c2c43669106b4e2aeb6203a2fbe9e3e4ff48
Handle properly the case of an inlined call that has no abstract origin attribute.

Normally, an inlined call has a dwarf entry that points at the abstract origin, i.e. the
function that was inlined.
However, in some cases, the abstract origin tag is not present (observed with gcc 6.3.0, when
compiling with link time optimisation).
Such missing abstract origin was then causing an error message when reading the dwarf debug info.

This patch ensures we handle this case more gracefully, by using UnknownInlinedFun as inlined
function name for such a missing abstract origin;
coregrind/m_debuginfo/readdwarf3.c