]> git.ipfire.org Git - thirdparty/valgrind.git/commit
Implement a cache 'address -> symbol name' in m_debuginfo.c
authorPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Fri, 11 Nov 2016 13:38:18 +0000 (13:38 +0000)
committerPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Fri, 11 Nov 2016 13:38:18 +0000 (13:38 +0000)
commit72160b3fef9c12d8108320b987acfe3f685342c9
tree5336767fb12a2445f23b4acf9c0e4eda633b85e5
parent599a062f615145908c6cf9aa2491e565b3ede68b
Implement a cache 'address -> symbol name' in m_debuginfo.c
Support work for xtree: as xtree implementation makes a high
nr of calls to get_sym_name, this cache improves the performance
as usually, stacktraces are repeatitively querying the same
addresses.
The cache follows the same principle as the cfsi_m_cache.
In particular, cache is cleared together with the cfsi_m cache.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@16121
coregrind/m_debuginfo/debuginfo.c