[PATCH] D25843: [ELF] Add DebugInfoDWARF dependency

Visoiu Mistrih Francis via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 20 13:45:50 PDT 2016


thegameg created this revision.
thegameg added reviewers: grimar, rafael.
thegameg added a subscriber: llvm-commits.
Herald added subscribers: mgorny, beanz.

https://reviews.llvm.org/rL284708 introduces a link error when building with `BUILD_SHARED_LIBS`:

> undefined reference to `llvm::DWARFContext::parseCompileUnits()'
>  undefined reference to `llvm::DWARFContextInMemory::DWARFContextInMemory(

  llvm::object::ObjectFile const&,
  llvm::LoadedObjectInfo const*)`

The functions are available in libDebugInfoDWARF, from llvm.


https://reviews.llvm.org/D25843

Files:
  ELF/CMakeLists.txt


Index: ELF/CMakeLists.txt
===================================================================
--- ELF/CMakeLists.txt
+++ ELF/CMakeLists.txt
@@ -34,6 +34,7 @@
   BitWriter
   Codegen
   Core
+  DebugInfoDWARF
   Demangle
   IPO
   Linker


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25843.75349.patch
Type: text/x-patch
Size: 237 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161020/23f846a8/attachment.bin>


More information about the llvm-commits mailing list