From aeac1207463c18da6ce97ab9ed26fbd92bf30b65 Mon Sep 17 00:00:00 2001 From: brutisso Date: Mon, 11 Apr 2011 11:12:41 +0200 Subject: [PATCH] 7034625: Product builds in Visual Studio projects should produce full symbol information Summary: Add the /debug flag to the linker command in Visual Studio Reviewed-by: mgronlun, poonam, hosterda --- src/share/tools/ProjectCreator/WinGammaPlatformVC10.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/share/tools/ProjectCreator/WinGammaPlatformVC10.java b/src/share/tools/ProjectCreator/WinGammaPlatformVC10.java index 4096beac8..21c951d92 100644 --- a/src/share/tools/ProjectCreator/WinGammaPlatformVC10.java +++ b/src/share/tools/ProjectCreator/WinGammaPlatformVC10.java @@ -497,6 +497,9 @@ class CompilerInterfaceVC10 extends CompilerInterface { addAttr(rv, "TargetMachine", "MachineX64"); } + // We always want the /DEBUG option to get full symbol information in the pdb files + addAttr(rv, "GenerateDebugInformation", "true"); + return rv; } @@ -504,8 +507,7 @@ class CompilerInterfaceVC10 extends CompilerInterface { Vector getDebugLinkerFlags() { Vector rv = new Vector(); - // /DEBUG option - addAttr(rv, "GenerateDebugInformation", "true"); + // Empty now that /DEBUG option is used by all configs return rv; } -- GitLab