[ooo-build-commit] .: bin/vtable-check

Michael Meeks mmeeks at kemper.freedesktop.org
Tue Oct 5 07:03:22 PDT 2010


 bin/vtable-check |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 040d46ed358b8f8e9b950e80c88034e831b525f9
Author: Michael Meeks <michael.meeks at novell.com>
Date:   Tue Oct 5 14:52:05 2010 +0100

    ignore _GLOBAL_ symbols

diff --git a/bin/vtable-check b/bin/vtable-check
index f30e35b..c119630 100755
--- a/bin/vtable-check
+++ b/bin/vtable-check
@@ -41,6 +41,8 @@ sub read_obj_vtables($$$)
 	my $size = hex ($sizehex) / $slot_size;
 	$symbol =~ s/.hidden/$libalias/;
 
+	$symbol =~ /_GLOBAL_/ && next; # anonymous namespace
+
 #	print "$size $symbol\n";
 	if (defined ($vtables->{$symbol})) {
 	    if ($size != $vtables->{$symbol}) {
@@ -72,6 +74,8 @@ sub read_so_vtables($$)
 	my ($address, $linkage, $type, $sizehex, $ver, $symbol) = ($1, $2, $3, $4, $5, $6);
 	$type =~ /O/ || next;
 
+	$symbol =~ /_GLOBAL_/ && next; # anonymous namespace
+
 	my $size = hex ($sizehex);
 
 	if (defined ($vtables->{$symbol})) {


More information about the ooo-build-commit mailing list