[gnome-builder/wip/gtk4-port: 1071/1774] plugins/valgrind: add --leak-check=full
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/gtk4-port: 1071/1774] plugins/valgrind: add --leak-check=full
- Date: Mon, 11 Jul 2022 22:31:33 +0000 (UTC)
commit 442630a35e927d9f04b8f787d3cf41f9b24ce52e
Author: Christian Hergert <chergert redhat com>
Date: Thu May 19 10:58:49 2022 -0700
plugins/valgrind: add --leak-check=full
src/plugins/valgrind/gbp-valgrind-workbench-addin.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/plugins/valgrind/gbp-valgrind-workbench-addin.c
b/src/plugins/valgrind/gbp-valgrind-workbench-addin.c
index 6bc9ad614..731d9df78 100644
--- a/src/plugins/valgrind/gbp-valgrind-workbench-addin.c
+++ b/src/plugins/valgrind/gbp-valgrind-workbench-addin.c
@@ -106,7 +106,9 @@ gbp_valgrind_workbench_addin_run_handler (IdeRunManager *run_manager,
/* Setup arguments to valgrind so it writes output to temp file. Add in
* reverse order so we can just use prepend() repeatedly */
+ /* TODO: These should be options in the run menu */
ide_runner_prepend_argv (runner, "--track-origins=yes");
+ ide_runner_prepend_argv (runner, "--leak-check=full");
ide_runner_prepend_argv (runner, log_fd_param);
ide_runner_prepend_argv (runner, "valgrind");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]