[Attributor] Fix build of unittest with DBUILD_SHARED_LIBS=True
authorAlex Bradbury <asb@lowrisc.org>
Wed, 15 Jul 2020 04:04:09 +0000 (05:04 +0100)
committerAlex Bradbury <asb@lowrisc.org>
Wed, 15 Jul 2020 04:05:31 +0000 (05:05 +0100)
The dependencies in llvm/unittests/Transforms/IPO/CMakeLists.txt
introduced in revision 0750757e were incomplete, leading to link errors
for a DBUILD_SHARED_LIBS=True build.

llvm/unittests/Transforms/IPO/CMakeLists.txt

index 8399b92..0e95518 100644 (file)
@@ -1,7 +1,10 @@
 set(LLVM_LINK_COMPONENTS
+  Analysis
+  AsmParser
   Core
-  Support
   IPO
+  Support
+  TransformUtils
   )
 
 add_llvm_unittest(IPOTests