FreeBSD regtest: fake missing syscalls on arm64 in scalar test
[valgrind.git] / memcheck / tests / freebsd / filter_scalar
blob5461dce8744556781b276a6156f02bb3a7730468
1 #! /bin/sh
3 # Filter out "in frame #x, created by" lines as they differ between x86/amd64.
4 # on x86: in frame #0, created by syscall (???)
5 # on amd64: in frame #1, created by *function* (scalar.c:272)
6 sed '/in frame #., created by/d' |
8 ./filter_stderr "$@" |
10 # And finally remove temporary line with frame #0 present to unify
11 # stack traces between x86 and amd64.
12 sed '/at 0x........: syscall (in \/...libc...)/d' |
14 # filter differences between FreeBSD 12 and 13/14
16 sed 's/SYS_freebsd12/ SYS/' |
17 sed 's/SYS_freebsd13/ SYS/' |
19 # get rid of error limit message
21 sed '/More than 100 errors detected. Subsequent errors/d' |
22 sed '/will still be recorded, but in less detail than before./d'