summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Hagander2007-05-03 14:04:03 +0000
committerMagnus Hagander2007-05-03 14:04:03 +0000
commit28f1c46b4295f4a670d688189a7b1f90fcddf11c (patch)
tree6af066453300e789a7377358ba23841e2d3b1f3e
parent1fcd644c74ab6ef751cc41ba80fc8df7a2992ab0 (diff)
Release builds generate different strangely formatted export names
for local symbols, that shouldn't be exported. This patch excludes them, cutting down about 10,000 exported symbols and decreasing the binary size by 20%.
-rw-r--r--src/tools/msvc/gendef.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/msvc/gendef.pl b/src/tools/msvc/gendef.pl
index d1f9bc04d6..6ca6ea8856 100644
--- a/src/tools/msvc/gendef.pl
+++ b/src/tools/msvc/gendef.pl
@@ -36,6 +36,7 @@ while (<$ARGV[0]/*.obj>)
next if $pieces[6] =~ /NULL_THUNK_DATA$/;
next if $pieces[6] =~ /^__IMPORT_DESCRIPTOR/;
next if $pieces[6] =~ /^__NULL_IMPORT/;
+ next if $pieces[6] =~ /^\?\?_C/;
push @def, $pieces[6];
}