aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorYonghong Song <yhs@fb.com>2021-02-11 10:00:32 -0800
committerYonghong Song <yhs@fb.com>2021-02-11 10:24:22 -0800
commit74975d35b47631da0c7911561f16d3ffd1af142a (patch)
tree243b5b8c21abd502307e776961e6d3b117934dee /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent606aa622b23855784c5db5b48b1c4800467fd851 (diff)
downloadllvm-74975d35b47631da0c7911561f16d3ffd1af142a.zip
llvm-74975d35b47631da0c7911561f16d3ffd1af142a.tar.gz
llvm-74975d35b47631da0c7911561f16d3ffd1af142a.tar.bz2
BPF: Add LLVMAnalysis in CMakefile LINK_COMPONENTS
buildbot reported a build error like below: BPFTargetMachine.cpp:(.text._ZN4llvm19TargetTransformInfo5ModelINS_10BPFTTIImplEED2Ev [_ZN4llvm19TargetTransformInfo5ModelINS_10BPFTTIImplEED2Ev]+0x14): undefined reference to `llvm::TargetTransformInfo::Concept::~Concept()' lib/Target/BPF/CMakeFiles/LLVMBPFCodeGen.dir/BPFTargetMachine.cpp.o: In function `llvm::TargetTransformInfo::Model<llvm::BPFTTIImpl>::~Model()': Commit a260ae716030 ("BPF: Implement TTI.IntImmCost() properly") added TargetTransformInfo to BPF, which requires LLVMAnalysis dependence. In certain cmake configurations, lacking explicit LLVMAnalysis dependency may cause compilation error. Similar to other targets, this patch added LLVMAnalysis in CMakefile LINK_COMPONENTS explicitly.
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions