]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/valgrind/src/valgrind-3.6.0-svn/memcheck/tests/amd64/filter_defcfaexpr
7fa1afee71996408ac2a5aedc8cb4a676ae133c6
[l4.git] / l4 / pkg / valgrind / src / valgrind-3.6.0-svn / memcheck / tests / amd64 / filter_defcfaexpr
1 #! /bin/sh
2
3 # change 
4 #
5 # ==6019==    at 0x400512: bbb (in 
6 #           /home/sewardj/VgTRUNK/trunk/memcheck/tests/amd64/defcfaexpr)
7 #
8 # to
9 #
10 # ==6019==    at 0x400512: bbb (in bogus.S:0)
11 #
12 # and then to
13 #
14 # ==6019==    at 0x400512: bbb (bogus.S:0)
15 #
16 # Then the standard ./filter_stderr won't screw it up any more,
17 # instead producing what we want, which is
18 #
19 #   at 0x........: bbb (bogus.S:0)
20 #
21 # where the important point is that the function name is intact.
22 # since the point of this test is to check that V can unwind the
23 # stack given the unusual CFAs describing it.
24
25
26 sed "s/\/.*\/tests\/amd64\/defcfaexpr/bogus.S:0/" | \
27       sed "s/(in /(/" | \
28       ./filter_stderr