mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-23 20:44:41 +02:00
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:
parent
7bf0d4d5cd
commit
2ea041a2b2
1 changed files with 4 additions and 2 deletions
|
@ -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 {
|
||||||
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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue