]> granicus.if.org Git - llvm/commitdiff
[CMake] llvm-dwp depends on intrinsics_gen
authorChris Bieneman <beanz@apple.com>
Sat, 19 Nov 2016 02:33:42 +0000 (02:33 +0000)
committerChris Bieneman <beanz@apple.com>
Sat, 19 Nov 2016 02:33:42 +0000 (02:33 +0000)
llvm-dwp.cpp has the following include chain:

llvm/CodeGen/AsmPrinter.h
llvm/CodeGen/MachineFunctionPass.h
llvm/CodeGen/MachineFunction.h
llvm/CodeGen/MachineBasicBlock.h
llvm/CodeGen/MachineInstr.h
llvm/Analysis/AliasAnalysis.h
llvm/IR/CallSite.h
llvm/IR/Attributes.h
llvm/IR/Attributes.gen

This means llvm-dwp needs to depend on intrinsics_gen.

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

tools/llvm-dwp/CMakeLists.txt

index 740ab5ca9040e465e721f4a43e24e94e17ed0cc8..98d67e04fe6a0b46dd31f2217fda07b1f2306f2a 100644 (file)
@@ -11,4 +11,7 @@ set(LLVM_LINK_COMPONENTS
 add_llvm_tool(llvm-dwp
   llvm-dwp.cpp
   DWPError.cpp
+
+  DEPENDS
+  intrinsics_gen
   )