Fix shlib builds for all lib/Target/*/TargetInfo libs
authorReid Kleckner <rnk@google.com>
Fri, 8 Oct 2021 22:18:58 +0000 (15:18 -0700)
committerReid Kleckner <rnk@google.com>
Fri, 8 Oct 2021 22:21:13 +0000 (15:21 -0700)
They all must depend on MC now that the target registry is in MC.
Also fix llvm-cxxdump

21 files changed:
llvm/lib/Target/AArch64/TargetInfo/CMakeLists.txt
llvm/lib/Target/AMDGPU/TargetInfo/CMakeLists.txt
llvm/lib/Target/ARC/TargetInfo/CMakeLists.txt
llvm/lib/Target/ARM/TargetInfo/CMakeLists.txt
llvm/lib/Target/AVR/TargetInfo/CMakeLists.txt
llvm/lib/Target/BPF/TargetInfo/CMakeLists.txt
llvm/lib/Target/CSKY/TargetInfo/CMakeLists.txt
llvm/lib/Target/Hexagon/TargetInfo/CMakeLists.txt
llvm/lib/Target/Lanai/TargetInfo/CMakeLists.txt
llvm/lib/Target/M68k/TargetInfo/CMakeLists.txt
llvm/lib/Target/MSP430/TargetInfo/CMakeLists.txt
llvm/lib/Target/Mips/TargetInfo/CMakeLists.txt
llvm/lib/Target/PowerPC/TargetInfo/CMakeLists.txt
llvm/lib/Target/RISCV/TargetInfo/CMakeLists.txt
llvm/lib/Target/Sparc/TargetInfo/CMakeLists.txt
llvm/lib/Target/SystemZ/TargetInfo/CMakeLists.txt
llvm/lib/Target/VE/TargetInfo/CMakeLists.txt
llvm/lib/Target/WebAssembly/TargetInfo/CMakeLists.txt
llvm/lib/Target/X86/TargetInfo/CMakeLists.txt
llvm/lib/Target/XCore/TargetInfo/CMakeLists.txt
llvm/tools/llvm-cxxdump/CMakeLists.txt

index 8adf3ef5d27fc3e1a80501859ed4ca77af1c218d..00308189151b571f3ffde70997fa69328d907328 100644 (file)
@@ -4,6 +4,7 @@ add_llvm_component_library(LLVMAArch64Info
   AArch64TargetInfo.cpp
 
   LINK_COMPONENTS
+  MC
   Support
 
   ADD_TO_COMPONENT
index f9cb5df80a39f8e2f45b41c95bd448ad8ab96186..0954c7e2296757e125e09ac889c1c1a40e27ad8d 100644 (file)
@@ -2,6 +2,7 @@ add_llvm_component_library(LLVMAMDGPUInfo
   AMDGPUTargetInfo.cpp
 
   LINK_COMPONENTS
+  MC
   Support
 
   ADD_TO_COMPONENT
index 3524a09695e30f0707fa5cdb4f50ed2cf61e9896..003d3be9d46157c0f425758176286d6dc8b907f5 100644 (file)
@@ -2,6 +2,7 @@ add_llvm_component_library(LLVMARCInfo
   ARCTargetInfo.cpp
 
   LINK_COMPONENTS
+  MC
   Support
 
   ADD_TO_COMPONENT
index bdc2ee5e4d38f974ed39c0ca9c206bd151898040..677283d232390215491de836e490dc4d472c58dd 100644 (file)
@@ -2,6 +2,7 @@ add_llvm_component_library(LLVMARMInfo
   ARMTargetInfo.cpp
 
   LINK_COMPONENTS
+  MC
   Support
 
   ADD_TO_COMPONENT
index 97c118a7d6b9079eec9105c88e3afbddd4b35aa8..5d76786671f07ccbc57ef85ed060d8168fdf0744 100644 (file)
@@ -5,6 +5,7 @@ add_llvm_component_library(LLVMAVRInfo
   AVRTargetInfo.cpp
 
   LINK_COMPONENTS
+  MC
   Support
 
   ADD_TO_COMPONENT
index 809b564601d4061f67205992dd66f78f7f3dc609..344248bf0b8a339217a28b4d9863349e299afd7b 100644 (file)
@@ -2,6 +2,7 @@ add_llvm_component_library(LLVMBPFInfo
   BPFTargetInfo.cpp
 
   LINK_COMPONENTS
+  MC
   Support
 
   ADD_TO_COMPONENT
index 11e4e179b4e1b5cfe874f5cb34eacbd4b45c1beb..4b12228f121b32e85dcdea126e9773f8b8f996fa 100644 (file)
@@ -2,6 +2,7 @@ add_llvm_component_library(LLVMCSKYInfo
   CSKYTargetInfo.cpp
 
   LINK_COMPONENTS
+  MC
   Support
 
   ADD_TO_COMPONENT
index fc96a618de2715536d5bdcf154e7d239ea5f2e9c..c0aca34f54148d508f628babd479c670273c84a9 100644 (file)
@@ -2,6 +2,7 @@ add_llvm_component_library(LLVMHexagonInfo
   HexagonTargetInfo.cpp
 
   LINK_COMPONENTS
+  MC
   Support
 
   ADD_TO_COMPONENT
index 96b2329ca4aaee81fa6462cbf48680bec6d6f6ee..bee021466640ad352a70274153d7edbbabb89d9b 100644 (file)
@@ -2,6 +2,7 @@ add_llvm_component_library(LLVMLanaiInfo
   LanaiTargetInfo.cpp
 
   LINK_COMPONENTS
+  MC
   Support
 
   ADD_TO_COMPONENT
index d376dcd7d12b447a2ca532c9f10fe0f226fc97d1..64507d4feac4614783e3f7376b1174665f41648f 100644 (file)
@@ -2,6 +2,7 @@ add_llvm_component_library(LLVMM68kInfo
   M68kTargetInfo.cpp
 
   LINK_COMPONENTS
+  MC
   Support
 
   ADD_TO_COMPONENT
index 40899ed2e5a5ddf919bbbd9fa6042958c6dcd22b..a8c8740ef7d83109a7a31fd4e0003aa207b65471 100644 (file)
@@ -2,6 +2,7 @@ add_llvm_component_library(LLVMMSP430Info
   MSP430TargetInfo.cpp
 
   LINK_COMPONENTS
+  MC
   Support
 
   ADD_TO_COMPONENT
index 9d8f0b532704016f87cd19b7fca7da27da63e66a..ea18209b1df9ce49a3a57d51c1663594c2c7a3c5 100644 (file)
@@ -2,6 +2,7 @@ add_llvm_component_library(LLVMMipsInfo
   MipsTargetInfo.cpp
 
   LINK_COMPONENTS
+  MC
   Support
 
   ADD_TO_COMPONENT
index c182f89138121d3bc7e1c84e72e2932b54897209..f4de1374e30fdce35fb399381a863d3d753f3926 100644 (file)
@@ -2,6 +2,7 @@ add_llvm_component_library(LLVMPowerPCInfo
   PowerPCTargetInfo.cpp
 
   LINK_COMPONENTS
+  MC
   Support
 
   ADD_TO_COMPONENT
index f760c639d54d3fefb7c5057a5c92b6c9d224edda..aae3e7742c3cd92523eb29c756ba2b63b879aeb1 100644 (file)
@@ -2,6 +2,7 @@ add_llvm_component_library(LLVMRISCVInfo
   RISCVTargetInfo.cpp
 
   LINK_COMPONENTS
+  MC
   Support
 
   ADD_TO_COMPONENT
index 39d2974c4ef1113f7d1a04b06846189ea964a806..b15cd430867721b3949968a1d26d0b86de14ab23 100644 (file)
@@ -2,6 +2,7 @@ add_llvm_component_library(LLVMSparcInfo
   SparcTargetInfo.cpp
 
   LINK_COMPONENTS
+  MC
   Support
 
   ADD_TO_COMPONENT
index 615f84f489174c89935fb9de2975e7a46a16c08b..072e1cdd5f5190efa9ab51841a8a1e90d959ecf1 100644 (file)
@@ -2,6 +2,7 @@ add_llvm_component_library(LLVMSystemZInfo
   SystemZTargetInfo.cpp
 
   LINK_COMPONENTS
+  MC
   Support
 
   ADD_TO_COMPONENT
index 3e5a027a6cecfbfad51ce1268944f33adb5e019b..13d6d0013a03f7afb8f550f8abb329b40836e1d7 100644 (file)
@@ -2,6 +2,7 @@ add_llvm_component_library(LLVMVEInfo
   VETargetInfo.cpp
 
   LINK_COMPONENTS
+  MC
   Support
 
   ADD_TO_COMPONENT
index f9f5f2f9a6179a46b8ebc3a3bc0de1700616fc5d..e56e67b22751a7410838cf6d3630fbbe07087097 100644 (file)
@@ -4,6 +4,7 @@ add_llvm_component_library(LLVMWebAssemblyInfo
   WebAssemblyTargetInfo.cpp
 
   LINK_COMPONENTS
+  MC
   Support
 
   ADD_TO_COMPONENT
index 6a7b67118e83935818164270e6ce48ca903c3908..3d6ccef12813dfba8eace291099b38cf33b3299c 100644 (file)
@@ -2,6 +2,7 @@ add_llvm_component_library(LLVMX86Info
   X86TargetInfo.cpp
 
   LINK_COMPONENTS
+  MC
   Support
 
   ADD_TO_COMPONENT
index f3af86a21b34fb60fa5997120ecdc03324241929..911611ce8f06f70d254e51bef5f7acb1c50e11cb 100644 (file)
@@ -2,6 +2,7 @@ add_llvm_component_library(LLVMXCoreInfo
   XCoreTargetInfo.cpp
 
   LINK_COMPONENTS
+  MC
   Support
 
   ADD_TO_COMPONENT
index 519e728e87b6f5267ba9e303bf3f42ac968f80c5..afae8359ca50de25a4955abb698d5ae1cfe4bf5d 100644 (file)
@@ -1,5 +1,6 @@
 set(LLVM_LINK_COMPONENTS
   AllTargetsInfos
+  MC
   Object
   Support
   )