[PATCH] D140609: [bugpoint] Fix compilation of bugpoint-passes on Windows

Dmitry Kazakov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 22 23:05:23 PST 2022


dimula73 created this revision.
dimula73 added a project: LLVM.
Herald added a project: All.
dimula73 requested review of this revision.
Herald added a subscriber: llvm-commits.

Bugpoint also depends on libLLVMSupport.dll for 'llvm_unreachable'


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D140609

Files:
  llvm/tools/bugpoint-passes/CMakeLists.txt


Index: llvm/tools/bugpoint-passes/CMakeLists.txt
===================================================================
--- llvm/tools/bugpoint-passes/CMakeLists.txt
+++ llvm/tools/bugpoint-passes/CMakeLists.txt
@@ -11,7 +11,7 @@
 endif()
 
 if(WIN32 OR CYGWIN)
-  set(LLVM_LINK_COMPONENTS Core)
+  set(LLVM_LINK_COMPONENTS Core Support)
 endif()
 
 add_llvm_library( BugpointPasses MODULE BUILDTREE_ONLY


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D140609.485051.patch
Type: text/x-patch
Size: 402 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221223/91923e2d/attachment.bin>


More information about the llvm-commits mailing list