mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-03 18:13:01 +00:00
To support different instrumentation modes, callgrind calls VG_(discard_translations), which up to now does not belong to the functions allowed to call from tools, as this is unsafe if called from generated code. Callgrind hacks around that by defining the prototype itself. However, in r4789 (from Sep 27 2005!) a 3rd arg was added for debugging output. Thus, callgrind could crash if called with "-d -d". As the "instrumentation off" feature seems to be used quite often, it really would be nice to have VG_(discard_translations) callable from tools... git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11906