Files
clang-p2996/llvm/tools/bugpoint/CMakeLists.txt
Lang Hames 8f96be921c [bugpoint] Fix bugpoint for LLVM_ENABLE_EXPORTED_SYMBOLS_IN_EXECUTABLES=Off.
Building with -DLLVM_ENABLE_EXPORTED_SYMBOLS_IN_EXECUTABLES=Off should not
prevent use of bugpoint plugins.

This fix uses the approach implemented in
https://github.com/llvm/llvm-project/pull/101741.
2024-08-29 16:57:37 +10:00

43 lines
596 B
CMake

set(LLVM_LINK_COMPONENTS
AllTargetsAsmParsers
AllTargetsCodeGens
AllTargetsDescs
AllTargetsInfos
Analysis
BitWriter
CodeGen
Extensions
Core
IPO
IRReader
AggressiveInstCombine
InstCombine
Instrumentation
Linker
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
)