Debian Codegraph @

src/debug.helgrind

raw
1 #!/usr/bin/env bash
2 # --------------------------------------------------------------------------
3 #
4 # //===// //===== //===// // // //===//
5 # // // // // // // // // //
6 # //===// //===== //===// // // //===<<
7 # // \\ // // // // // //
8 # // \\ =====// // //===== // //===// Version III
9 #
10 # ------------- An Efficient RSerPool Prototype Implementation -------------
11 #
12 # Copyright (C) 2002-2026 by Thomas Dreibholz
13 #
14 # This program is free software: you can redistribute it and/or modify
15 # it under the terms of the GNU General Public License as published by
16 # the Free Software Foundation, either version 3 of the License, or
17 # (at your option) any later version.
18 #
19 # This program is distributed in the hope that it will be useful,
20 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 # GNU General Public License for more details.
23 #
24 # You should have received a copy of the GNU General Public License
25 # along with this program. If not, see <http://www.gnu.org/licenses/>.
26 #
27 # Contact: [email protected]
28
29 echo "valgrind $@"
30 echo "NOTE: Install libqt4-dbg and set G_SLICE=always-malloc to debug Qt/glib programs!"
31 G_SLICE=always-malloc valgrind --tool=helgrind $@