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:
@@ -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 ;
|
||||
|
||||
Reference in New Issue
Block a user