abi_symbols: drop weak local symbols

Fixes #3457
This commit is contained in:
Christian Prochaska 2019-07-18 16:20:57 +02:00 committed by Christian Helmuth
parent 2fad5eff95
commit f73c63900f
1 changed files with 6 additions and 0 deletions

View File

@ -90,6 +90,12 @@ foreach line [split $symbols "\n"] {
if {[regexp {W|V} $type] && ($name != $demangled_name)} {
set keep 0 }
#
# Drop weak local symbols
#
if {[regexp {w|v} $type]} {
set keep 0 }
#
# Drop blacklisted symbols
#