Add leak_analyser shell script to analyse guarded heap info.

The script runs the guarded heap allocation output through c++filt to
demangle stack trace symbols and filters out a list of known globals
that are never freed. It also allows to exclude further patterns
provided on the command line.
This commit is contained in:
Michael Lotz
2015-04-11 09:41:25 +02:00
parent 0cf3d62115
commit 6900f36727
2 changed files with 155 additions and 0 deletions
+4
View File
@@ -82,4 +82,8 @@ if $(HAIKU_GCC_VERSION_$(architecture)[1]) = 2 {
AddSymlinkToPackage data deskbar menu Applications
: ../../../../apps/Debugger : Debugger ;
# Debugging tools
SEARCH on leak_analyser.sh = [ FDirName $(HAIKU_TOP) src bin ] ;
AddFilesToPackage bin : leak_analyser.sh ;
BuildHaikuPackage $(haikuDevelPackage) : haiku_devel ;