]> granicus.if.org Git - llvm/commitdiff
[CMake] llvm-profdata depends on intrinsics_gen
authorChris Bieneman <beanz@apple.com>
Fri, 18 Nov 2016 23:04:15 +0000 (23:04 +0000)
committerChris Bieneman <beanz@apple.com>
Fri, 18 Nov 2016 23:04:15 +0000 (23:04 +0000)
llvm-profdata.cpp has the following include chain:

llvm/ProfileData/SampleProfReader.h
llvm/IR/Function.h
llvm/IR/Argument.h
llvm/IR/Attributes.h
llvm/IR/Attributes.gen

This means llvm-profdata needs to depend on intrinsics_gen.

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

tools/llvm-profdata/CMakeLists.txt

index 0e330fd0751ebf16598c3473fb3c41be129b4e3a..49641c482f29fc60eee9bd7b64107e71c8d2e3f1 100644 (file)
@@ -6,4 +6,7 @@ set(LLVM_LINK_COMPONENTS
 
 add_llvm_tool(llvm-profdata
   llvm-profdata.cpp
+
+  DEPENDS
+  intrinsics_gen
   )