From ec00c9cdeb5ee9fc7846cb3d2a4d53eba2c35a43 Mon Sep 17 00:00:00 2001 From: Nemanja Ivanovic Date: Tue, 1 Feb 2022 20:13:09 -0600 Subject: [PATCH] [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. --- llvm/unittests/Target/ARM/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/unittests/Target/ARM/CMakeLists.txt b/llvm/unittests/Target/ARM/CMakeLists.txt index c4f8520..ea8a3ed 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 -- 2.7.4