This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Symbols names in AddressSanitizer backtrace


On 2013.03.29 at 10:24 +0400, niXman wrote:
> 2013/3/29 David Abdurachmanov:
> > Hi,
> >
> > Pipe the output through: https://llvm.org/svn/llvm-project/compiler-rt/trunk/lib/asan/scripts/asan_symbolize.py
> 
> But with C-code problem the same:
> http://liveworkspace.org/code/2XMeB7$3

You need to redirect stderr, e.g.:
 % ./a.out 2>&1 | asan_symbolize.py | c++filt

-- 
Markus


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]