memcheck/tests/sh-mem-random.c: Set huge_addr to 240GB
[valgrind.git] / memcheck / tests / amd64-linux / filter_defcfaexpr
blob97955f914ff9c7d14039ad0d4ba1d6883d09dd40
1 #! /bin/sh
3 # In case the test binary contains debug line info first change
4 # bad0.c:?? to a (bogus) binary path /foobar/tests/amd64-linux/defcfaexpr/
6 # then change
8 # ==6019== at 0x400512: bbb (in
9 # /home/sewardj/VgTRUNK/trunk/memcheck/tests/amd64/defcfaexpr)
11 # to
13 # ==6019== at 0x400512: bbb (in bogus.S:0)
15 # and then to
17 # ==6019== at 0x400512: bbb (bogus.S:0)
19 # Then the standard ./filter_stderr won't screw it up any more,
20 # instead producing what we want, which is
22 # at 0x........: bbb (bogus.S:0)
24 # where the important point is that the function name is intact.
25 # since the point of this test is to check that V can unwind the
26 # stack given the unusual CFAs describing it.
29 sed "s/bad0.c:[0-9]\+/\/foobar\/tests\/amd64-linux\/defcfaexpr/" | \
30 ./filter_stderr "$@" | \
31 sed "s/\/.*\/tests\/amd64-linux\/defcfaexpr/bogus.S:0/" | \
32 sed "s/(in /(/"