Home | History | Annotate | Download | only in amd64-linux
      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 ./filter_stderr "$@" | \
     27 sed "s/\/.*\/tests\/amd64-linux\/defcfaexpr/bogus.S:0/" | \
     28 sed "s/(in /(/" 
     29