Mercurial > hg > truffle
comparison src/share/tools/ProjectCreator/WinGammaPlatformVC10.java @ 2475:c49c3947b98a
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
author | brutisso |
---|---|
date | Mon, 11 Apr 2011 11:12:41 +0200 |
parents | 74e790c48cd4 |
children | 344264424174 2f27ed2a98fa |
comparison
equal
deleted
inserted
replaced
2474:1dac0f3af89f | 2475:c49c3947b98a |
---|---|
495 addAttr(rv, "TargetMachine", "MachineX86"); | 495 addAttr(rv, "TargetMachine", "MachineX86"); |
496 } else { | 496 } else { |
497 addAttr(rv, "TargetMachine", "MachineX64"); | 497 addAttr(rv, "TargetMachine", "MachineX64"); |
498 } | 498 } |
499 | 499 |
500 // We always want the /DEBUG option to get full symbol information in the pdb files | |
501 addAttr(rv, "GenerateDebugInformation", "true"); | |
502 | |
500 return rv; | 503 return rv; |
501 } | 504 } |
502 | 505 |
503 @Override | 506 @Override |
504 Vector getDebugLinkerFlags() { | 507 Vector getDebugLinkerFlags() { |
505 Vector rv = new Vector(); | 508 Vector rv = new Vector(); |
506 | 509 |
507 // /DEBUG option | 510 // Empty now that /DEBUG option is used by all configs |
508 addAttr(rv, "GenerateDebugInformation", "true"); | |
509 | 511 |
510 return rv; | 512 return rv; |
511 } | 513 } |
512 | 514 |
513 @Override | 515 @Override |