Helgrind: add suppression for libnss from getaddrinfo
[valgrind.git] / drd / tests / filter_annotate_barrier_xml
blob06a492ae8b05c1bdf7f6e5bb32a4258a12260d14
1 #!/bin/sh
3 # Remove the three lines after "<fn>start_thread</fn>" if these start with
4 # "<dir>...</dir>" since these last three lines are not generated on all
5 # platforms.
6 ../../memcheck/tests/filter_xml |
7 awk '{
8 if ($0 == " <fn>start_thread</fn>") {
9 line1 = $0
10 getline
11 if ($0 == " <dir>...</dir>") {
12 line2 = $0
13 getline
14 if ($0 == " <file>pthread_create.c</file>") {
15 line3 = $0
16 getline
17 if ($0 == " <line>...</line>") {
18 $0 = line1
19 } else {
20 print line1
21 print line2
22 print line3
24 } else {
25 print line1
26 print line2
28 } else {
29 print line1
32 print