[COFF] Add DebugInfoCodeView dependency

rL287555 introduces a link error when building with BUILD_SHARED_LIBS:

  undefined reference to llvm::codeview::CVSymbolDumper::dump(),
  and more...

The functions are available in libDebugInfoCodeView, from LLVM.

Patch by Visoiu Mistrih Francis!

llvm-svn: 287837
This commit is contained in:
Rui Ueyama 2016-11-23 22:58:25 +00:00
parent 2eda6d1633
commit bf9523f549
1 changed files with 1 additions and 0 deletions

View File

@ -21,6 +21,7 @@ add_lld_library(lldCOFF
LINK_COMPONENTS
${LLVM_TARGETS_TO_BUILD}
Core
DebugInfoCodeView
DebugInfoMSF
DebugInfoPDB
LTO