[CMake] llvm-profdata depends on intrinsics_gen

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.

llvm-svn: 287394
This commit is contained in:
Chris Bieneman 2016-11-18 23:04:15 +00:00
parent 06f8e407fc
commit 68298db4f6

View File

@ -6,4 +6,7 @@ set(LLVM_LINK_COMPONENTS
add_llvm_tool(llvm-profdata
llvm-profdata.cpp
DEPENDS
intrinsics_gen
)