[check-symbols.sh] Allow weak objects "V"
authorBehdad Esfahbod <behdad@behdad.org>
Mon, 24 Sep 2018 17:04:48 +0000 (13:04 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Mon, 24 Sep 2018 17:04:48 +0000 (13:04 -0400)
ubsan generates these.

src/check-symbols.sh

index 6e9382b..cea8684 100755 (executable)
@@ -26,7 +26,7 @@ for soname in harfbuzz harfbuzz-subset harfbuzz-icu harfbuzz-gobject; do
                symprefix=
                if test $suffix = dylib; then symprefix=_; fi
 
-               EXPORTED_SYMBOLS="`nm "$so" | grep ' [BCDGINRSTV] .' | grep -v " $symprefix\\($IGNORED_SYMBOLS\\>\\)" | cut -d' ' -f3 | c++filt`"
+               EXPORTED_SYMBOLS="`nm "$so" | grep ' [BCDGINRST] .' | grep -v " $symprefix\\($IGNORED_SYMBOLS\\>\\)" | cut -d' ' -f3 | c++filt`"
 
                prefix=$symprefix`basename "$so" | sed 's/libharfbuzz/hb/; s/-/_/g; s/[.].*//'`