On Fri, Nov 23, 2012 at 06:12:24PM +0400, Konstantin Serebryany wrote:
> Ok, the tests behave better on ubuntu 12.04.
> tested:
> rm -rf rm -rf */{*/,}libsanitizer && make -j20 && make -C gcc
> check-g{cc,++} RUNTESTFLAGS='--target_board=unix\{-m32,-m64\}
> asan.exp'
> 
> The fresh asan library produces slightly different output (added ':'),
> so the tests (all 1 of them) have been updated.
> Please take another look.

Ok, thanks.

> > Executing on host: addr2line -f -e
> > /usr/local/google/kcc/gcc-build/gcc/testsuite/gcc/memcmp-1.exe
> > 0x80488d1 0x8048560   (timeout = 300)
> > spawn addr2line -f -e
> > /usr/local/google/kcc/gcc-build/gcc/testsuite/gcc/memcmp-1.exe
> > 0x80488d1 0x8048560
> > BFD: Dwarf Error: found dwarf version '4', this reader only handles
> > version 2 and 3 information.

Is that split into two lines, or just one line?
I hoped I'm handling even the BFD: prefixed error messages, that should be
the middle line in
            regsub -all "\r\n" [lindex $status 1] "\n" addr2line_output
            regsub -all "(^|\n|\r)BFD: \[^\n\r\]*" $addr2line_output "" 
addr2line_output
            set addr2line_output [regexp -inline -all -line "^\[^\n\r]*" 
$addr2line_output]
I'll have another look.

        Jakub

Reply via email to