diff options
author | Iain Sandoe <iain@sandoe.co.uk> | 2021-11-19 15:52:29 +0000 |
---|---|---|
committer | Iain Sandoe <iain@sandoe.co.uk> | 2021-11-19 19:52:03 +0000 |
commit | c7b782d847d8682af9d5d91c0614a880cc2436f1 (patch) | |
tree | d6bfc29ca1ff4282e41ae26345af1a2585f30277 | |
parent | 532fae74c3b1197023a765272892e12e123f0a56 (diff) | |
download | gcc-c7b782d847d8682af9d5d91c0614a880cc2436f1.zip gcc-c7b782d847d8682af9d5d91c0614a880cc2436f1.tar.gz gcc-c7b782d847d8682af9d5d91c0614a880cc2436f1.tar.bz2 |
libstdc++, testsuite: Add a prune expression for external tool bug.
Depending on the permutation of CPU, OS version and shared/non-
shared library inclusion, we get can get warnings from the external
tools (ld64, dsymutil) which are not actually libstdc++ issues but
relate to the external tools themselves. This is already pruned
in the main testsuite, this adds it to the library.
Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
libstdc++-v3/ChangeLog:
* testsuite/lib/prune.exp: Prune dsymutil (ld64) warning.
-rw-r--r-- | libstdc++-v3/testsuite/lib/prune.exp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libstdc++-v3/testsuite/lib/prune.exp b/libstdc++-v3/testsuite/lib/prune.exp index 334f821..41c4b51 100644 --- a/libstdc++-v3/testsuite/lib/prune.exp +++ b/libstdc++-v3/testsuite/lib/prune.exp @@ -66,9 +66,12 @@ proc libstdc++-dg-prune { system text } { regsub -all "(^|\n)\[^\n\]*warning: DWARFDebugInfoEntry::AppendDependants\[^\n\]*AT_\[^\n\]*_bound\[^\n\]*FORM_ref4\[^\n\]*" $text "" text regsub -all "(^|\n)\[^\n\]*warning:\[^\n\]*TAG_variable: AT_location\[^\n\]*didn't have valid function low pc\[^\n\]*" $text "" text - # Ignore harmless warnings from Xcode 4.0. + # Ignore harmless warnings from Xcode 4+. regsub -all "(^|\n)\[^\n\]*ld: warning: could not create compact unwind for\[^\n\]*" $text "" text + # Ignore dsymutil warning (tool bug is actually in the linker) + regsub -all "(^|\n)\[^\n\]*could not find object file symbol for symbol\[^\n\]*" $text "" text + foreach p $additional_prunes { if { [string length $p] > 0 } { # Following regexp matches a complete line containing $p. |