[llvm] ec00c9c - [ARM] Fix build break after 762f0b546328
Nemanja Ivanovic via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 1 18:15:07 PST 2022
Author: Nemanja Ivanovic
Date: 2022-02-01T20:14:32-06:00
New Revision: ec00c9cdeb5ee9fc7846cb3d2a4d53eba2c35a43
URL: https://github.com/llvm/llvm-project/commit/ec00c9cdeb5ee9fc7846cb3d2a4d53eba2c35a43
DIFF: https://github.com/llvm/llvm-project/commit/ec00c9cdeb5ee9fc7846cb3d2a4d53eba2c35a43.diff
LOG: [ARM] Fix build break after 762f0b546328
The commit adds a unit test that uses the facilities of libLLVMCore
without adding it to link components. This causes failures with
the shared libraries builds.
This patch just adds the missing library to the link step.
Added:
Modified:
llvm/unittests/Target/ARM/CMakeLists.txt
Removed:
################################################################################
diff --git a/llvm/unittests/Target/ARM/CMakeLists.txt b/llvm/unittests/Target/ARM/CMakeLists.txt
index c4f8520a2cc84..ea8a3ed896a88 100644
--- a/llvm/unittests/Target/ARM/CMakeLists.txt
+++ b/llvm/unittests/Target/ARM/CMakeLists.txt
@@ -8,6 +8,7 @@ set(LLVM_LINK_COMPONENTS
ARMDesc
ARMInfo
CodeGen
+ Core
GlobalISel
MC
MIRParser
More information about the llvm-commits
mailing list