[CMake] [Darwin] Add support for debugging tablegen dependencies
authorChris Bieneman <beanz@apple.com>
Thu, 17 Nov 2016 04:36:59 +0000 (04:36 +0000)
committerChris Bieneman <beanz@apple.com>
Thu, 17 Nov 2016 04:36:59 +0000 (04:36 +0000)
commit8036e0b21a9e62adb7aee9793ce0a90646e37b73
treecec8549d1ac24c2cbec72841ded2ca9f50f79d6b
parent05c279fc4b62d672afa4232f8efbcdca42ef5085
[CMake] [Darwin] Add support for debugging tablegen dependencies

This patch adds an option to the build system LLVM_DEPENDENCY_DEBUGGING. Over time I plan to extend this to do more complex verifications, but the initial patch causes compile errors wherever there is missing a dependency on intrinsics_gen.

Because intrinsics_gen is a compile-time dependency not a link-time dependency, everything that relies on the headers generated in intrinsics_gen needs an explicit dependency.

llvm-svn: 287207
llvm/CMakeLists.txt
llvm/cmake/modules/AddLLVM.cmake