Don't make PDBs by default in Release mode
authorReid Kleckner <rnk@google.com>
Thu, 15 Feb 2018 21:25:23 +0000 (21:25 +0000)
committerReid Kleckner <rnk@google.com>
Thu, 15 Feb 2018 21:25:23 +0000 (21:25 +0000)
commitb97ff922a9eeea6efbf12deba907848e5002cc76
tree4980f12d5f5f846de6c9c4126be86dc4bfb70f9b
parentde9ad4ba848729f0826131a947fdbaae98df6d05
Don't make PDBs by default in Release mode

Introduce the LLVM_ENABLE_PDB option so that users can request them
explicitly instead.

Add /OPT:REF and /OPT:ICF back, which /DEBUG disables by default.

Differential Revision: https://reviews.llvm.org/D43156

llvm-svn: 325296
llvm/cmake/modules/HandleLLVMOptions.cmake