]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Add missing massif filter file
authorPaul Floyd <pjfloyd@wanadoo.fr>
Thu, 27 Nov 2025 12:26:20 +0000 (13:26 +0100)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Thu, 27 Nov 2025 12:26:20 +0000 (13:26 +0100)
massif/tests/filter_ignore_fn [new file with mode: 0755]

diff --git a/massif/tests/filter_ignore_fn b/massif/tests/filter_ignore_fn
new file mode 100755 (executable)
index 0000000..2b524f0
--- /dev/null
@@ -0,0 +1,5 @@
+#! /bin/sh
+
+awk '/Massif arguments/{gsub(/ unsigned int/, "uint")}{print}' |
+# unmangled C++ names can contain spaces so the above filter removes themn first
+awk '{gsub(/ --ignore-fn=[^ ]*/, ""); print}'