After the integration of the following commit
commit 9218ff50f93085d0a16a974db28ca8f14bc66f64
Author: serge-sans-paille <sguelton@redhat.com>
Date: Fri Oct 9 18:41:21 2020 +0200
llvmbuildectomy - replace llvm-build by plain cmake
No longer rely on an external tool to build the llvm component layout.
Instead, leverage the existing `add_llvm_componentlibrary` cmake function and
introduce `add_llvm_component_group` to accurately describe component behavior.
These function store extra properties in the created targets. These properties
are processed once all components are defined to resolve library dependencies
and produce the header expected by llvm-config.
Differential Revision: https://reviews.llvm.org/D90848building llvm with shared libraries will fail due to missing dependencies.
The linker complains that:
lib/Transforms/Utils/CMakeFiles/LLVMTransformUtils.dir/LoopUtils.cpp.o: In function `llvm::makeFollowupLoopID(llvm::MDNode*, llvm::ArrayRef<llvm::StringRef>, char const*, bool)': LoopUtils.cpp:(.text._ZN4llvm18makeFollowupLoopIDEPNS_6MDNodeENS_8ArrayRefINS_9StringRefEEEPKcb+0x198): undefined reference to `llvm::isValueProfMD(llvm::MDNode*, llvm::InstrProfValueKind)'
This patch will add the missing dependencies to resolve the failures like the above.