[CMake] bugpoint depends on intrinsics_gen
authorChris Bieneman <beanz@apple.com>
Fri, 18 Nov 2016 23:25:30 +0000 (23:25 +0000)
committerChris Bieneman <beanz@apple.com>
Fri, 18 Nov 2016 23:25:30 +0000 (23:25 +0000)
CrashDebugger.cpp has the following include chain:

llvm/Analysis/TargetTransformInfo.h
llvm/IR/IntrinsicInst.h
llvm/IR/Function.h
llvm/IR/Argument.h
llvm/IR/Attributes.h
llvm/IR/Attributes.gen

This means bugpoint needs to depend on intrinsics_gen.

llvm-svn: 287402

llvm/tools/bugpoint/CMakeLists.txt

index a3b73e7..7598657 100644 (file)
@@ -29,6 +29,9 @@ add_llvm_tool(bugpoint
   OptimizerDriver.cpp
   ToolRunner.cpp
   bugpoint.cpp
+
+  DEPENDS
+  intrinsics_gen
   )
 export_executable_symbols(bugpoint)