mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-11 22:08:14 +00:00
Also without cache simulation, Callgrind maintains Ir cost. This is done in setup_bbcc by incrementing an execution counter for last_bbcc (the cost center for the previously executed BB in current context) and the global cost counter. However, we forgot to increment any counter if the currently executing function should be ignored. We need to still update costs, add attribute this to a not-ignored call site (as given in CLG_(current_state).nonskipped). Before this fix, there was a difference in Ir cost with vs. without cache simulation. This was because ignored functions (e.g. PLT code) contributed no cost when not doing cache simulation. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13130
24 KiB
24 KiB