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
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
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits