Use DataLayout from the module when easily available.
[oota-llvm.git] / tools / bugpoint / CMakeLists.txt
1 set(LLVM_LINK_COMPONENTS
2   Analysis
3   BitWriter
4   CodeGen
5   Core
6   IPA
7   IPO
8   IRReader
9   InstCombine
10   Instrumentation
11   Linker
12   ObjCARCOpts
13   ScalarOpts
14   Support
15   Target
16   TransformUtils
17   Vectorize
18   )
19
20 # Support plugins.
21 set(LLVM_NO_DEAD_STRIP 1)
22
23 add_llvm_tool(bugpoint
24   BugDriver.cpp
25   CrashDebugger.cpp
26   ExecutionDriver.cpp
27   ExtractFunction.cpp
28   FindBugs.cpp
29   Miscompilation.cpp
30   OptimizerDriver.cpp
31   ToolRunner.cpp
32   bugpoint.cpp
33   )
34 set_target_properties(bugpoint PROPERTIES ENABLE_EXPORTS 1)