[lld] r287837 - [COFF] Add DebugInfoCodeView dependency

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 23 14:58:25 PST 2016


Author: ruiu
Date: Wed Nov 23 16:58:25 2016
New Revision: 287837

URL: http://llvm.org/viewvc/llvm-project?rev=287837&view=rev
Log:
[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!

Modified:
    lld/trunk/COFF/CMakeLists.txt

Modified: lld/trunk/COFF/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/COFF/CMakeLists.txt?rev=287837&r1=287836&r2=287837&view=diff
==============================================================================
--- lld/trunk/COFF/CMakeLists.txt (original)
+++ lld/trunk/COFF/CMakeLists.txt Wed Nov 23 16:58:25 2016
@@ -21,6 +21,7 @@ add_lld_library(lldCOFF
   LINK_COMPONENTS
   ${LLVM_TARGETS_TO_BUILD}
   Core
+  DebugInfoCodeView
   DebugInfoMSF
   DebugInfoPDB
   LTO




More information about the llvm-commits mailing list