aboutsummaryrefslogtreecommitdiff
path: root/tests/valgrind.supp
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2014-02-14 08:41:10 +0100
committerDan Fandrich <dan@coneharvesters.com>2014-02-14 08:48:23 +0100
commit25600bdf750906e9f18ca234f00edc91b777b225 (patch)
treec019e0d91246f572067b74598286fb2b3bf83c3c /tests/valgrind.supp
parent1813a77b024d03b59fe5b591a5c5ecced02a9e66 (diff)
valgrind: added suppression on optimized code
gcc 4.7.2 with -O2 will optimize Curl_connect by inlining some functions two levels deep, which makes the valgrind suppression fail to match. The underlying reason for these idna suppressions is a gcc strlen optimization when compiling libidn; compiling it with -fno-builtin-strlen makes this suppression unnecessary.
Diffstat (limited to 'tests/valgrind.supp')
-rw-r--r--tests/valgrind.supp16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/valgrind.supp b/tests/valgrind.supp
index 2fcf642db..b800f567d 100644
--- a/tests/valgrind.supp
+++ b/tests/valgrind.supp
@@ -39,3 +39,19 @@
fun:operate
fun:main
}
+
+{
+ libidn-idna_to_ascii-error-inlined-functions
+ Memcheck:Addr4
+ fun:idna_to_ascii_4z
+ fun:idna_to_ascii_8z
+ fun:idna_to_ascii_lz
+ fun:fix_hostname
+ fun:Curl_connect
+ fun:multi_runsingle
+ fun:curl_multi_perform
+ fun:easy_perform.part.4
+ fun:operate_do
+ fun:operate
+ fun:main
+}