]> git.ipfire.org Git - thirdparty/valgrind.git/commit
optimise readpdb.c filename and dirname handling, following r14158
authorPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Wed, 23 Jul 2014 20:28:11 +0000 (20:28 +0000)
committerPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Wed, 23 Jul 2014 20:28:11 +0000 (20:28 +0000)
commitcb1d628c6a0dfed57ed0df471de98d2efe67f589
tree5efd34bfd4e025d6af47366df1f2478b838f247b
parentea9b0ccd7daf32d0bdf35c747c78e55fdb8496f0
optimise readpdb.c filename and dirname handling, following r14158

r14158 introduced a dedup pool to store pairs (filename,dirname).
The windows debug info reader (readpdb.c) performance was still to be
improved, as calls to ML_(addFnDn) were done for each line loc to add.

With this patch, the nr of calls to ML_(addFnDn) should be reduced
significantly.

Code has been compiled and regtested on linux, but no windows/wine test
was done.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14183
coregrind/m_debuginfo/readpdb.c