Home | History | Annotate | Download | only in asan
      1 #!/bin/bash
      2 
      3 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
      4 # Use of this source code is governed by a BSD-style license that can be
      5 # found in the LICENSE file.
      6 
      7 # A wrapper that runs the program and filters the output through
      8 # asan_symbolize.py and c++filt
      9 #
     10 # TODO(glider): this should be removed once EmbeddedTool in valgrind_test.py
     11 # starts supporting pipes.
     12 
     13 export THISDIR=`dirname $0`
     14 "$@" 2>&1 |
     15   $THISDIR/asan_symbolize.py |
     16   c++filt
     17