]> git.ipfire.org Git - thirdparty/valgrind.git/commit
fix 219156 support static malloc or alternate malloc lib (e.g. tcmalloc) with new...
authorPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Fri, 11 May 2012 19:33:46 +0000 (19:33 +0000)
committerPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Fri, 11 May 2012 19:33:46 +0000 (19:33 +0000)
commit0ea6d36f1d6b8baef34164e96aed344504b659b5
tree11aa2de6809e2c926674419353e04bcb33e13dee
parent1a3a9c7d99b8852a7d95b878403b34a6519762ee
fix 219156 support static malloc or alternate malloc lib (e.g. tcmalloc) with new option --soname-synonyms

* pub_tool_redir.h : define the prefix to be used for "soname synonym"
  place holder
* vg_replace_malloc.c : define synonym place holder for malloc related
  functions
* m_redir.c : when detecting a soname synonym place holder redir spec, search
  in clo_soname_synonyms if there is a synonym pattern.
  If yes, replace the soname pattern. If not, ignore the redir spec.
* various files: implement or document the new clo --soname-synonyms
* new test memcheck/tests/static_malloc.vgtest

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12559
14 files changed:
NEWS
coregrind/m_main.c
coregrind/m_options.c
coregrind/m_redir.c
coregrind/m_replacemalloc/vg_replace_malloc.c
coregrind/pub_core_options.h
docs/xml/manual-core.xml
include/pub_tool_redir.h
memcheck/tests/Makefile.am
memcheck/tests/static_malloc.c [new file with mode: 0644]
memcheck/tests/static_malloc.stderr.exp [new file with mode: 0644]
memcheck/tests/static_malloc.vgtest [new file with mode: 0644]
none/tests/cmdline1.stdout.exp
none/tests/cmdline2.stdout.exp