]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Some further refinement to outer suppressions
authorPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Sat, 2 May 2020 18:18:06 +0000 (20:18 +0200)
committerPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Sat, 2 May 2020 18:18:06 +0000 (20:18 +0200)
tests/outer_inner.supp

index 2d8a6368a9762c9f76be9384f8d9968481a3834c..1a0f9a002cc073be2029b2e7f163a1554fb8fe57 100644 (file)
@@ -7,10 +7,9 @@
 #==3240==    by 0x38037A96: vgPlain_arena_strdup (m_mallocfree.c:2591)
 #==3240==    by 0x38037A96: vgPlain_strdup (m_mallocfree.c:2663)
 #==3240==    by 0x3808C880: process_option (m_main.c:456)
-#==3240==    by 0x380918AE: early_process_cmd_line_options (m_main.c:909)
-#==3240==    by 0x380918AE: valgrind_main (m_main.c:1492)
-#==3240==    by 0x380918AE: _start_in_C_linux (m_main.c:3043)
-#==3240==    by 0x3808C730: ??? (in /home/philippe/valgrind/git/inner_untouched/callgrind/callgrind-amd64-linux)
+#            ....
+# Note: at startup, we leak twice every option prefixed by the tool name
+# and we leak such option if changed dynamically.
 {
    "keep duplicated args forever as tools can make copies"
    Memcheck:Leak
@@ -18,8 +17,7 @@
    fun:vgPlain_arena_strdup
    fun:vgPlain_strdup
    fun:process_option
-   fun:early_process_cmd_line_options
-   fun:valgrind_main
+
 }
 
 #==4649== 344 bytes in 1 blocks are definitely lost in loss record 75 of 131