mirror of
https://github.com/moparisthebest/curl
synced 2025-02-28 09:21:50 -05:00
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.
This commit is contained in:
parent
1813a77b02
commit
25600bdf75
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user