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 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/NEWS b/NEWS
index d874874..fef2b28 100644
--- a/NEWS
+++ b/NEWS
@@ -3,17 +3,22 @@
* ================== PLATFORM CHANGES =================
-* Support for amd64 AES instructions (AESKEYGENASSIST, AESENC, AESENCLAST,
- AESDEC, AESDECLAST, AESIMC).
+* Support for intel AES instructions (AESKEYGENASSIST, AESENC, AESENCLAST,
+ AESDEC, AESDECLAST, AESIMC). Only supported for 64 bit architecture.
* ==================== TOOL CHANGES ====================
+* Massif
+ - Using the new option --soname-synonyms, Massif can now understand
+ a program using statically linked malloc or using alternative
+ malloc libraries (such as tcmalloc).
+
* Memcheck:
- The leak_check GDB server monitor command now can
control the maximum nr of loss records to output.
- - reduction of memory use for applications allocating
+ - Reduction of memory use for applications allocating
many blocks and/or having many partially defined bytes.
- Addition of GDB server monitor command 'block_list' that lists
@@ -22,15 +27,22 @@
- Addition of GDB server monitor command 'who_points_at' that lists
the locations pointing at a block.
- - if a redzone size > 0 is given, VALGRIND_MALLOCLIKE_BLOCK now
+ - If a redzone size > 0 is given, VALGRIND_MALLOCLIKE_BLOCK now
will detect an invalid access of these redzones, by marking them
noaccess.
+ - Using the new option --soname-synonyms, Memcheck can now understand
+ a program using statically linked malloc or using alternative
+ malloc libraries (such as tcmalloc).
+
* ==================== OTHER CHANGES ====================
* The C++ demangler has been updated so as to work well with C++
compiled by up to at least g++ 4.6.
+* Replacement/wrapping can be made more flexible thanks to the new option
+ --soname-synonyms.
+
* The new option --fair-sched allows to control the locking mechanism
used by Valgrind. The locking mechanism influences the performance
and scheduling of multithreaded applications (in particular
@@ -56,6 +68,7 @@
where XXXXXX is the bug number as listed below.
197914 Building valgrind from svn now requires automake-1.10
+219156 Valgrind does not handle statically linked malloc or other malloc lib (e.g. tcmalloc)
247386 make perf does not run all performance tests
270006 Valgrind scheduler unfair
270796 s390x: Removed broken support for the TS insn