[Libreoffice-commits] core.git: solenv/gbuild
David Ostrovsky
david at ostrovsky.org
Fri Mar 3 09:03:37 UTC 2017
solenv/gbuild/platform/com_MSC_defs.mk | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 96af392ba495383927dc886f13a1f5a5cc46d9c1
Author: David Ostrovsky <david at ostrovsky.org>
Date: Sat Jan 28 11:37:10 2017 +0100
Use /debug:fastlink linker option to improve link performance
/debug:fastlink improve build performance and reduce resources
consumption. When this linker oprion is used the linker-produced
program database (PDB) files doesn’t have any private symbol
information. Debug information is distributed among input object
and library files, and the linker PDB just serves as an indexing
database. Obviously, this provides a huge performance benefit for
the daily developer builds.
fastlink PDB files cannot be shared with another developer on the
team or uploaded directly to symbol server. There is spcial tooling
which is able to create a full PDB from the /debug:fastlink PDB
on demand: mspdbcmf: [1]. The integration of mspdbcmf is beyond
the scope of this change.
[1] https://blogs.msdn.microsoft.com/vcblog/2016/10/05/faster-c-build-cycle-in-vs-15-with-debugfastlink/
Change-Id: I14e29cf116407b420598f692c8d6d851e686268b
Reviewed-on: https://gerrit.libreoffice.org/34330
Reviewed-by: David Ostrovsky <david at ostrovsky.org>
Tested-by: David Ostrovsky <david at ostrovsky.org>
diff --git a/solenv/gbuild/platform/com_MSC_defs.mk b/solenv/gbuild/platform/com_MSC_defs.mk
index a6b1b32..f9b077d 100755
--- a/solenv/gbuild/platform/com_MSC_defs.mk
+++ b/solenv/gbuild/platform/com_MSC_defs.mk
@@ -250,6 +250,7 @@ gb_LinkTarget_LDFLAGS += \
gb_DEBUGINFO_FLAGS := \
-FS \
-Zi \
+ -DEBUG:fastlink \
gb_DEBUG_CFLAGS :=
More information about the Libreoffice-commits
mailing list