[PATCH] D46381: Fix BUILD_SHARED_LIB build after addition of dependency on llvm::WriteIndexToFile

Sam Clegg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 3 01:53:09 PDT 2018


sbc100 created this revision.
Herald added subscribers: llvm-commits, aheejin, arichardson, mgorny, emaste.
Herald added a reviewer: espindola.

The -DBUILD_SHARED_LIB=ON build seems to have been broken
in https://reviews.llvm.org/rL331405 with the addition of llvm::WriteIndexToFile.

It function lives in libLLVMBitWriter.so.


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D46381

Files:
  ELF/CMakeLists.txt


Index: ELF/CMakeLists.txt
===================================================================
--- ELF/CMakeLists.txt
+++ ELF/CMakeLists.txt
@@ -46,6 +46,7 @@
   LINK_COMPONENTS
   ${LLVM_TARGETS_TO_BUILD}
   BinaryFormat
+  BitWriter
   Core
   DebugInfoDWARF
   LTO


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46381.144990.patch
Type: text/x-patch
Size: 267 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180503/22c6737d/attachment.bin>


More information about the llvm-commits mailing list