From: Mark Wielaard Date: Tue, 12 Oct 2021 18:01:45 +0000 (+0200) Subject: filter_xml: Filter out '@*' from symbol names X-Git-Tag: VALGRIND_3_18_0~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b86d267c60d5977ae3426475fb73df226ba8c0b;p=thirdparty%2Fvalgrind.git filter_xml: Filter out '@*' from symbol names With glibc 2.34 we would start seeing some function names ending in '@*' this was already filtered out using drd/tests/filter_stderr.in but not when using the drd xml tests. This would make drd/tests/thread_name_xml and drd/tests/bar_bad_xml fail. Filter this out in the memcheck/tests/filter_xml script, which is also used by the drd test filters. Tested against glibc 2.34, 2.33 and 2.17 on x86_64. --- diff --git a/memcheck/tests/filter_xml b/memcheck/tests/filter_xml index 6de4e930b5..e8c0b75cf5 100755 --- a/memcheck/tests/filter_xml +++ b/memcheck/tests/filter_xml @@ -11,6 +11,8 @@ sed "s/.*<\/obj>/...<\/obj>/" | sed "s/.*<\/line>/...<\/line>/" | sed "s/.*<\/dir>/...<\/dir>/" | sed "s/.*<\/count>/...<\/count>/" | +# Filter out @* version symbol function names +sed "s/\(.*\)\@\*<\/fn>/\1<\/fn>/" | sed "s/of size [48].*<\/suppcounts>/...<\/suppcounts>/s" |