~ubuntu-branches/ubuntu/karmic/valgrind/karmic

« back to all changes in this revision

Viewing changes to memcheck/tests/amd64/filter_defcfaexpr

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2008-01-06 11:28:10 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20080106112810-segj25s87z9zd7i5
Tags: 1:3.3.0-1ubuntu1
* Merge with Debian, remaining changes:
 - Add 91_build_with_fno_stack_protector.dpatch
 - Add lpia to Architecture

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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