7034625: Product builds in Visual Studio projects should produce full symbol information

Add the /debug flag to the linker command in Visual Studio

Reviewed-by: mgronlun, poonam, hosterda
This commit is contained in:
Bengt Rutisson 2011-04-11 11:12:41 +02:00
parent 7bf0d4d5cd
commit 2ea041a2b2

View file

@ -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;
}