[CMake] Add LLVM_BUILD_INSTRUMENTED option to enable building with -fprofile-instr...
authorChris Bieneman <beanz@apple.com>
Thu, 10 Dec 2015 21:19:07 +0000 (21:19 +0000)
committerChris Bieneman <beanz@apple.com>
Thu, 10 Dec 2015 21:19:07 +0000 (21:19 +0000)
commitf6aeea168a04bf0dcc648c4f081af4d55e9ad419
treed4ce201a358c087a67228d81f70a26ffa8baea8c
parent6d5ee5a800163515ea78b4dfa69c99a17a13ed62
[CMake] Add LLVM_BUILD_INSTRUMENTED option to enable building with -fprofile-instr-generate

This is the first step in supporting PGO data generation via CMake. I've marked the option as advanced and experimental until it is fleshed out further.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@255298 91177308-0d34-0410-b5e6-96231b3b80d8
cmake/modules/HandleLLVMOptions.cmake