[CMake] LLVM_PROFDATA_FILE only works if you're using clang, so we should error out...
authorChris Bieneman <beanz@apple.com>
Tue, 13 Oct 2015 05:35:12 +0000 (05:35 +0000)
committerChris Bieneman <beanz@apple.com>
Tue, 13 Oct 2015 05:35:12 +0000 (05:35 +0000)
commit405342d075da81d372f454193e1c3f22ffe1e734
tree4929f369eba1228573ee4f9fa0cbcf2e12f11cab
parent41ab11ccf0d228f0f442b6852caa196360b65d31
[CMake] LLVM_PROFDATA_FILE only works if you're using clang, so we should error out if it is specified when not using clang.

Also updated the CMake docs.

Based on post-commit review of r250108 from Sean Silvas.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@250150 91177308-0d34-0410-b5e6-96231b3b80d8
CMakeLists.txt
docs/CMake.rst