https://bugs.kde.org/show_bug.cgi?id=514343
Bug ID: 514343
Summary: Add a valgrind.h macro VALGRIND_REPLACES_MALLOC
Classification: Developer tools
Product: valgrind
Version First 3.27 GIT
Reported In:
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
The RUNNING_ON_VALGRIND macro allows the guest to know that it is running on
Valgrind. However there are also cases where the guest needs to know whether we
will replace malloc etc as well.
An example of this is with malloc replacement libs such as tcmalloc.
RUNNING_ON_VALGRIND does not allow users to run tools that do not replace
malloc (callgrind, cachegrind) interfering with the tcmalloc startup code.
--
You are receiving this mail because:
You are watching all bug changes.