Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / tools / llvm-debuginfod / CMakeLists.txt
blob6b0a1193d1b222c53a0d5d409e06a9c0a69ac19c
1 set(LLVM_LINK_COMPONENTS
2   Option
3   Support
4   )
5 set(LLVM_TARGET_DEFINITIONS Opts.td)
6 tablegen(LLVM Opts.inc -gen-opt-parser-defs)
7 add_public_tablegen_target(DebugInfodOptsTableGen)
9 add_llvm_tool(llvm-debuginfod
10   llvm-debuginfod.cpp
12   DEPENDS
13   DebugInfodOptsTableGen
14   GENERATE_DRIVER
15   )
17 if(NOT LLVM_TOOL_LLVM_DRIVER_BUILD)
18   target_link_libraries(llvm-debuginfod PRIVATE LLVMDebuginfod)
19 endif()
21 if(LLVM_INSTALL_BINUTILS_SYMLINKS)
22   add_llvm_tool_symlink(debuginfod llvm-debuginfod)
23 endif()