]> git.ipfire.org Git - thirdparty/valgrind.git/commit
optimisation : avoid double reading of a DIE when the DIE will be parsed
authorPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Mon, 16 Jun 2014 21:49:42 +0000 (21:49 +0000)
committerPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Mon, 16 Jun 2014 21:49:42 +0000 (21:49 +0000)
commit2ee4ccfb2a4a4e1c548dcecd152b0a1fde3eec50
tree2d9a23204f08010d8e3e514c8971b688d8abae30
parent49514f81211217e2eff3c16b2b38f8a24d22d52d
optimisation : avoid double reading of a DIE when the DIE will be parsed
by a DIE parser

Instead of pre-reading the DIE, first let the parser(s) possibly
parse the DIE. Read (to skip) the DIE data if no parser has parsed it.
OTherwise, just jump to the end of the DIE as established by the parser
that has read the DIE.

This slightly improves the reading of inlined info.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14049
coregrind/m_debuginfo/readdwarf3.c