Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit40f7b9e

Browse files
committed
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 sizeby 20%.
1 parent63735ca commit40f7b9e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎src/tools/msvc/gendef.pl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
# Script that generates a .DEF file for all objects in a directory
44
#
5-
# $PostgreSQL: pgsql/src/tools/msvc/gendef.pl,v 1.5 2007/03/17 14:01:01 mha Exp $
5+
# $PostgreSQL: pgsql/src/tools/msvc/gendef.pl,v 1.6 2007/05/03 14:04:03 mha Exp $
66
#
77

88
die"Usage: gendef.pl <modulepath>\n"unless ($ARGV[0] =~/\\([^\\]+$)/);
@@ -36,6 +36,7 @@
3636
nextif$pieces[6] =~/NULL_THUNK_DATA$/;
3737
nextif$pieces[6] =~/^__IMPORT_DESCRIPTOR/;
3838
nextif$pieces[6] =~/^__NULL_IMPORT/;
39+
nextif$pieces[6] =~/^\?\?_C/;
3940

4041
push@def,$pieces[6];
4142
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp