[Lldb-commits] [PATCH] D67885: [LLDB] Add a missing specification of linking against dbghelp

Martin Storsjö via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Sep 23 05:03:14 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL372587: [LLDB] Add a missing specification of linking against dbghelp (authored by mstorsjo, committed by ).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Changed prior to commit:
  https://reviews.llvm.org/D67885?vs=221199&id=221293#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D67885/new/

https://reviews.llvm.org/D67885

Files:
  lldb/trunk/source/Plugins/ObjectFile/PECOFF/CMakeLists.txt


Index: lldb/trunk/source/Plugins/ObjectFile/PECOFF/CMakeLists.txt
===================================================================
--- lldb/trunk/source/Plugins/ObjectFile/PECOFF/CMakeLists.txt
+++ lldb/trunk/source/Plugins/ObjectFile/PECOFF/CMakeLists.txt
@@ -1,3 +1,10 @@
+# Dbghelp is used on windows for writing minidump files.
+if(WIN32)
+  set(DBGHELP_LINK_FILES dbghelp)
+else()
+  set(DBGHELP_LINK_FILES "")
+endif()
+
 add_lldb_library(lldbPluginObjectFilePECOFF PLUGIN
   ObjectFilePECOFF.cpp
   WindowsMiniDump.cpp
@@ -7,6 +14,7 @@
     lldbHost
     lldbSymbol
     lldbTarget
+    ${DBGHELP_LINK_FILES}
   LINK_COMPONENTS
     BinaryFormat
     Support


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67885.221293.patch
Type: text/x-patch
Size: 669 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20190923/f701d9f1/attachment.bin>


More information about the lldb-commits mailing list