1 executable("bugpoint") {
3 "//llvm/include/llvm/Config:config",
4 "//llvm/include/llvm/Config:llvm-config",
6 "//llvm/lib/Bitcode/Writer",
13 "//llvm/lib/Target:TargetsToBuild",
14 "//llvm/lib/Transforms/AggressiveInstCombine",
15 "//llvm/lib/Transforms/IPO",
16 "//llvm/lib/Transforms/Instrumentation",
17 "//llvm/lib/Transforms/ObjCARC",
18 "//llvm/lib/Transforms/Scalar",
19 "//llvm/lib/Transforms/Utils",
20 "//llvm/lib/Transforms/Vectorize",
25 "ExecutionDriver.cpp",
26 "ExtractFunction.cpp",
29 "OptimizerDriver.cpp",
35 # FIXME: Disable dead stripping once other binaries are dead-stripped.
36 if (host_os != "mac" && host_os != "win") {
37 # Make sure bugpoint plugins can access bugpoint's symbols.
38 # Corresponds to export_executable_symbols() in cmake.
39 ldflags = [ "-rdynamic" ]