ELF Tool Chain/elftoolchain 3748trunk/libdwarf libdwarf_attr.c

libdwarf: Use the cached strtab pointer when reading string attributes.

Previously we would perform a linear search of the DWARF section
list for ".debug_str".  However, libdwarf always caches a pointer to
the strtab image in its debug descriptor.  Using it gives a modest
performance improvement when iterating over the attributes of each
DIE.

Obtained from FreeBSD r349424 by markj.
DeltaFile
+1-4trunk/libdwarf/libdwarf_attr.c
+1-41 files

UnifiedSplitRaw