[sanitizer] Improve FreeBSD ASLR detection
[llvm-project.git] / llvm / tools / llvm-readobj / CMakeLists.txt
blob9d2d8882ee8322c3ea87799a0c126948acb2437b
1 set(LLVM_LINK_COMPONENTS
2   DebugInfoCodeView
3   DebugInfoDWARF
4   Demangle
5   Object
6   BinaryFormat
7   Option
8   Support
9   DebugInfoCodeView
10   DebugInfoMSF
11   DebugInfoPDB
12   )
14 set(LLVM_TARGET_DEFINITIONS Opts.td)
15 tablegen(LLVM Opts.inc -gen-opt-parser-defs)
16 add_public_tablegen_target(ReadobjOptsTableGen)
18 add_llvm_tool(llvm-readobj
19   ARMWinEHPrinter.cpp
20   COFFDumper.cpp
21   COFFImportDumper.cpp
22   ELFDumper.cpp
23   llvm-readobj.cpp
24   MachODumper.cpp
25   ObjDumper.cpp
26   WasmDumper.cpp
27   Win64EHDumper.cpp
28   WindowsResourceDumper.cpp
29   XCOFFDumper.cpp
30   )
32 add_llvm_tool_symlink(llvm-readelf llvm-readobj)
34 if(LLVM_INSTALL_BINUTILS_SYMLINKS)
35   add_llvm_tool_symlink(readelf llvm-readobj)
36 endif()