mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-08 21:09:49 +00:00
Remove the hard-coding of "_vgi_" as the intercept prefix in
vg_replace_malloc.c. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3882
This commit is contained in:
@@ -96,14 +96,7 @@
|
||||
Z --> ZZ
|
||||
*/
|
||||
|
||||
|
||||
/* It would be nice to be able to write VG_INTERCEPT_PREFIX instead of
|
||||
"_vgi_" here, but I can't figure out how to get cpp to cooperate.
|
||||
If you change this "_vgi_" you should also change the definitiion
|
||||
of VG_INTERCEPT_PREFIX in core.h accordingly.
|
||||
*/
|
||||
#define ENCODE(libname,fnname) _vgi_##libname##_##fnname
|
||||
|
||||
#define ENCODE(libname,fnname) VG_INTERCEPT(libname##_##fnname)
|
||||
|
||||
/* Some handy mangled names */
|
||||
#define m_libstc_plus_plus_star libstdcZpZpZa // libstdc++*
|
||||
|
||||
Reference in New Issue
Block a user