[ELF] Add DebugInfoDWARF dependency

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.

Patch by Visoiu Mistrih Francis

Differential revision: https://reviews.llvm.org/D25843

llvm-svn: 284810
This commit is contained in:
George Rimar 2016-10-21 07:46:24 +00:00
parent bed04bf1df
commit 032fa65606
1 changed files with 1 additions and 0 deletions

View File

@ -34,6 +34,7 @@ add_lld_library(lldELF
BitWriter
Codegen
Core
DebugInfoDWARF
Demangle
IPO
Linker