Generate PDB files for profiling even in Release build.
authorZachary Turner <zturner@google.com>
Wed, 7 Feb 2018 19:37:52 +0000 (19:37 +0000)
committerZachary Turner <zturner@google.com>
Wed, 7 Feb 2018 19:37:52 +0000 (19:37 +0000)
commit876dc7124db14425693f1e4927b3a43f6c8e871c
tree6791d6116ec968aa9e6354411ae7f0dbb2429801
parent1d4546c0ade6e949d2400252a5058fcfefe3c635
Generate PDB files for profiling even in Release build.

This patch enables PDB generation for Release build, which has
slightly different optimize option with RelWithDebInfo on windows.

This helps to know slow part of Release build when profiling.

Patch by Takuto Ikuta
Differential Revision: https://reviews.llvm.org/D42632

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