mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
WIP: valgrind runtime analysis and fixes (#6521)
* Fix several valgrind identified mem leaks * Added callgrind target. * px4_posix_tasks use nullptr
This commit is contained in:
@@ -136,7 +136,10 @@ then
|
||||
ddd --debugger gdb --args $sitl_command
|
||||
elif [ "$debugger" == "valgrind" ]
|
||||
then
|
||||
valgrind $sitl_command
|
||||
valgrind --track-origins=yes --leak-check=full -v $sitl_command
|
||||
elif [ "$debugger" == "callgrind" ]
|
||||
then
|
||||
valgrind --tool=callgrind -v $sitl_command
|
||||
elif [ "$debugger" == "ide" ]
|
||||
then
|
||||
echo "######################################################################"
|
||||
|
||||
Reference in New Issue
Block a user