asan-dg.exp (asan_symbolize): Remove all "BFD: " prefixed lines from the output.
* lib/asan-dg.exp (asan_symbolize): Remove all "BFD: " prefixed lines from the output. From-SVN: r193763
This commit is contained in:
parent
88cd0e88e3
commit
644525ff99
2 changed files with 5 additions and 1 deletions
|
@ -1,5 +1,8 @@
|
|||
2012-11-23 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* lib/asan-dg.exp (asan_symbolize): Remove all "BFD: " prefixed lines
|
||||
from the output.
|
||||
|
||||
PR c++/54046
|
||||
* g++.dg/warn/Wreturn-type-8.C: New test.
|
||||
|
||||
|
|
|
@ -128,7 +128,8 @@ proc asan_symbolize { output } {
|
|||
set status [remote_exec host "$addr2line_name" $args]
|
||||
if { [lindex $status 0] > 0 } continue
|
||||
regsub -all "\r\n" [lindex $status 1] "\n" addr2line_output
|
||||
regsub -all "(^|\n|\r)BFD: \[^\n\r\]*" $addr2line_output "" addr2line_output
|
||||
regsub -all "\[\n\r\]BFD: \[^\n\r\]*" $addr2line_output "" addr2line_output
|
||||
regsub -all "^BFD: \[^\n\r\]*\[\n\r\]" $addr2line_output "" addr2line_output
|
||||
set addr2line_output [regexp -inline -all -line "^\[^\n\r]*" $addr2line_output]
|
||||
set idx 0
|
||||
foreach val $arr($key) {
|
||||
|
|
Loading…
Add table
Reference in a new issue