llvm-project/llvm/tools/bugpoint/CMakeLists.txt
Alexis Engelke f54df0d09e
[LLVM][NFC] Move PassPlugin from Passes to separate library
This avoid pulling in the entire Passes library with all passes as
dependencies when just referring to PassPlugin, which is in fact
independent of the Passes themselves.

Pull Request: https://github.com/llvm/llvm-project/pull/173279
2025-12-22 18:11:34 +01:00

44 lines
606 B
CMake

set(LLVM_LINK_COMPONENTS
AllTargetsAsmParsers
AllTargetsCodeGens
AllTargetsDescs
AllTargetsInfos
Analysis
BitWriter
CodeGen
Extensions
Core
IPO
IRReader
AggressiveInstCombine
InstCombine
Instrumentation
Linker
Plugins
ObjCARCOpts
ScalarOpts
Support
Target
TargetParser
TransformUtils
Vectorize
)
add_llvm_tool(bugpoint
BugDriver.cpp
CrashDebugger.cpp
ExecutionDriver.cpp
ExtractFunction.cpp
FindBugs.cpp
Miscompilation.cpp
OptimizerDriver.cpp
ToolRunner.cpp
bugpoint.cpp
DEPENDS
intrinsics_gen
SUPPORT_PLUGINS
EXPORT_SYMBOLS
)