[llvm] b0b4cc1 - [bugpoint] Fix compilation of bugpoint-passes on Windows

Alexey Bader via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 23 17:48:14 PST 2023


Author: Alexey Bader
Date: 2023-01-23T17:42:16-08:00
New Revision: b0b4cc18641b053b351c9f6133206ee37f5952a3

URL: https://github.com/llvm/llvm-project/commit/b0b4cc18641b053b351c9f6133206ee37f5952a3
DIFF: https://github.com/llvm/llvm-project/commit/b0b4cc18641b053b351c9f6133206ee37f5952a3.diff

LOG: [bugpoint] Fix compilation of bugpoint-passes on Windows

Bugpoint also depends on libLLVMSupport.dll for 'llvm_unreachable'

Reviewed By: beanz

Differential Revision: https://reviews.llvm.org/D140609

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/tools/bugpoint-passes/CMakeLists.txt b/llvm/tools/bugpoint-passes/CMakeLists.txt
index eea3e239b8083..6df49d7abd880 100644
--- a/llvm/tools/bugpoint-passes/CMakeLists.txt
+++ b/llvm/tools/bugpoint-passes/CMakeLists.txt
@@ -11,7 +11,7 @@ if( NOT LLVM_REQUIRES_RTTI )
 endif()
 
 if(WIN32 OR CYGWIN)
-  set(LLVM_LINK_COMPONENTS Core)
+  set(LLVM_LINK_COMPONENTS Core Support)
 endif()
 
 add_llvm_library( BugpointPasses MODULE BUILDTREE_ONLY


        


More information about the llvm-commits mailing list