From 7d8ea71677f6b9985d4bbe5112067d5d48414383 Mon Sep 17 00:00:00 2001 From: Nemanja Ivanovic Date: Sat, 19 Oct 2019 16:40:26 +0000 Subject: [PATCH] [ARM] Add dependency on GlobalISel for unit tests to fix shared libs build The unit test uses GlobalISel but the dependency is not listed in the CMakeLists.txt file which causes failures in shared libs build with GCC. This just adds the dependency. Differential revision: https://reviews.llvm.org/D69064 llvm-svn: 375346 --- 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 443c525..1634c8c 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 + GlobalISel MC SelectionDAG Support -- 2.7.4