[CMake] sanstats depends on intrinsics_gen

sanstats.cpp has the following include chain:

llvm/Transforms/Utils/SanitizerStats.h
llvm/IR/IRBuilder.h
llvm/IR/ConstantFolder.h
llvm/IR/InstrTypes.h
llvm/IR/Attributes.h
llvm/IR/Attributes.gen

This means sanstats needs to depend on intrinsics_gen.

llvm-svn: 287404
This commit is contained in:
Chris Bieneman 2016-11-18 23:30:39 +00:00
parent d9a5ffbbe0
commit 81848a59ac

View File

@ -5,4 +5,7 @@ set(LLVM_LINK_COMPONENTS
add_llvm_tool(sanstats
sanstats.cpp
DEPENDS
intrinsics_gen
)