提交 aeac1207 编写于 作者: B brutisso

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
上级 51833553
...@@ -497,6 +497,9 @@ class CompilerInterfaceVC10 extends CompilerInterface { ...@@ -497,6 +497,9 @@ class CompilerInterfaceVC10 extends CompilerInterface {
addAttr(rv, "TargetMachine", "MachineX64"); 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; return rv;
} }
...@@ -504,8 +507,7 @@ class CompilerInterfaceVC10 extends CompilerInterface { ...@@ -504,8 +507,7 @@ class CompilerInterfaceVC10 extends CompilerInterface {
Vector getDebugLinkerFlags() { Vector getDebugLinkerFlags() {
Vector rv = new Vector(); Vector rv = new Vector();
// /DEBUG option // Empty now that /DEBUG option is used by all configs
addAttr(rv, "GenerateDebugInformation", "true");
return rv; return rv;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册