• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1set(LLVM_LINK_COMPONENTS
2  ${LLVM_TARGETS_TO_BUILD}
3  Analysis
4  BitWriter
5  CodeGen
6  Core
7  IPO
8  IRReader
9  AggressiveInstCombine
10  InstCombine
11  Instrumentation
12  Linker
13  ObjCARCOpts
14  ScalarOpts
15  Support
16  Target
17  TransformUtils
18  Vectorize
19  )
20
21# Support plugins.
22set(LLVM_NO_DEAD_STRIP 1)
23
24add_llvm_tool(bugpoint
25  BugDriver.cpp
26  CrashDebugger.cpp
27  ExecutionDriver.cpp
28  ExtractFunction.cpp
29  FindBugs.cpp
30  Miscompilation.cpp
31  OptimizerDriver.cpp
32  ToolRunner.cpp
33  bugpoint.cpp
34
35  DEPENDS
36  intrinsics_gen
37  )
38export_executable_symbols(bugpoint)
39
40if(WITH_POLLY AND LINK_POLLY_INTO_TOOLS)
41  target_link_libraries(bugpoint PRIVATE Polly)
42  # Ensure LLVMTarget can resolve dependences in Polly.
43  target_link_libraries(bugpoint PRIVATE LLVMTarget)
44endif(WITH_POLLY AND LINK_POLLY_INTO_TOOLS)
45