2013-12-10 11:13:32 +00:00
|
|
|
set(LLVM_LINK_COMPONENTS
|
|
|
|
Analysis
|
|
|
|
BitWriter
|
2014-02-22 00:07:45 +00:00
|
|
|
CodeGen
|
2013-12-10 11:13:32 +00:00
|
|
|
Core
|
|
|
|
IPA
|
|
|
|
IPO
|
|
|
|
IRReader
|
|
|
|
InstCombine
|
|
|
|
Instrumentation
|
|
|
|
Linker
|
|
|
|
ObjCARCOpts
|
|
|
|
ScalarOpts
|
|
|
|
Support
|
|
|
|
Target
|
|
|
|
TransformUtils
|
|
|
|
Vectorize
|
|
|
|
)
|
2010-09-13 23:59:48 +00:00
|
|
|
|
2013-12-30 03:36:05 +00:00
|
|
|
# Support plugins.
|
|
|
|
set(LLVM_NO_DEAD_STRIP 1)
|
|
|
|
|
2008-09-22 01:08:49 +00:00
|
|
|
add_llvm_tool(bugpoint
|
|
|
|
BugDriver.cpp
|
|
|
|
CrashDebugger.cpp
|
|
|
|
ExecutionDriver.cpp
|
|
|
|
ExtractFunction.cpp
|
|
|
|
FindBugs.cpp
|
|
|
|
Miscompilation.cpp
|
|
|
|
OptimizerDriver.cpp
|
|
|
|
ToolRunner.cpp
|
|
|
|
bugpoint.cpp
|
|
|
|
)
|
2013-04-04 01:01:32 +00:00
|
|
|
set_target_properties(bugpoint PROPERTIES ENABLE_EXPORTS 1)
|
2014-03-14 04:04:14 +00:00
|
|
|
|
|
|
|
if(WITH_POLLY AND LINK_POLLY_INTO_TOOLS)
|
|
|
|
target_link_libraries(bugpoint Polly)
|
|
|
|
if(POLLY_LINK_LIBS)
|
|
|
|
foreach(lib ${POLLY_LINK_LIBS})
|
|
|
|
target_link_libraries(bugpoint ${lib})
|
|
|
|
endforeach(lib)
|
|
|
|
endif(POLLY_LINK_LIBS)
|
|
|
|
endif(WITH_POLLY AND LINK_POLLY_INTO_TOOLS)
|