| set(LLVM_LINK_COMPONENTS | |
| ${BOLT_TARGETS_TO_BUILD} | |
| MC | |
| Object | |
| Support | |
| ) | |
| add_bolt_tool(llvm-bolt-binary-analysis | |
| binary-analysis.cpp | |
| DISABLE_LLVM_LINK_LLVM_DYLIB | |
| ) | |
| target_link_libraries(llvm-bolt-binary-analysis | |
| PRIVATE | |
| LLVMBOLTRewrite | |
| LLVMBOLTUtils | |
| ) | |
| add_dependencies(bolt llvm-bolt-binary-analysis) |