mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-15 04:43:35 +08: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:
+4
-1
@@ -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