2013-04-03 18:31:38 +00:00
|
|
|
set(LLVM_LINK_COMPONENTS
|
2016-05-05 00:34:33 +00:00
|
|
|
DebugInfoCodeView
|
2018-03-08 00:46:53 +00:00
|
|
|
DebugInfoDWARF
|
2019-01-17 17:55:47 +00:00
|
|
|
Demangle
|
2013-12-10 11:13:32 +00:00
|
|
|
Object
|
2017-06-07 03:48:56 +00:00
|
|
|
BinaryFormat
|
2021-07-12 10:14:42 -07:00
|
|
|
Option
|
2013-12-10 11:13:32 +00:00
|
|
|
Support
|
2016-05-14 00:02:53 +00:00
|
|
|
DebugInfoCodeView
|
2016-07-29 20:56:36 +00:00
|
|
|
DebugInfoMSF
|
2017-02-16 23:35:45 +00:00
|
|
|
DebugInfoPDB
|
2013-12-10 11:13:32 +00:00
|
|
|
)
|
2012-03-01 01:36:50 +00:00
|
|
|
|
2021-07-12 10:14:42 -07:00
|
|
|
set(LLVM_TARGET_DEFINITIONS Opts.td)
|
|
|
|
tablegen(LLVM Opts.inc -gen-opt-parser-defs)
|
|
|
|
add_public_tablegen_target(ReadobjOptsTableGen)
|
|
|
|
|
2012-03-01 01:36:50 +00:00
|
|
|
add_llvm_tool(llvm-readobj
|
2014-06-04 15:47:15 +00:00
|
|
|
ARMWinEHPrinter.cpp
|
2013-04-03 18:31:38 +00:00
|
|
|
COFFDumper.cpp
|
2015-08-28 10:27:50 +00:00
|
|
|
COFFImportDumper.cpp
|
2013-04-03 18:31:38 +00:00
|
|
|
ELFDumper.cpp
|
2014-05-24 20:04:21 +00:00
|
|
|
llvm-readobj.cpp
|
|
|
|
MachODumper.cpp
|
|
|
|
ObjDumper.cpp
|
2017-01-30 23:30:52 +00:00
|
|
|
WasmDumper.cpp
|
2014-05-25 20:26:45 +00:00
|
|
|
Win64EHDumper.cpp
|
2017-09-20 18:33:35 +00:00
|
|
|
WindowsResourceDumper.cpp
|
2019-05-03 12:57:07 +00:00
|
|
|
XCOFFDumper.cpp
|
2022-12-13 16:56:08 +00:00
|
|
|
DEPENDS
|
|
|
|
ReadobjOptsTableGen
|
2022-10-06 05:16:13 +00:00
|
|
|
GENERATE_DRIVER
|
2012-03-01 01:36:50 +00:00
|
|
|
)
|
2017-07-19 02:09:37 +00:00
|
|
|
|
|
|
|
add_llvm_tool_symlink(llvm-readelf llvm-readobj)
|
2017-11-02 21:43:32 +00:00
|
|
|
|
|
|
|
if(LLVM_INSTALL_BINUTILS_SYMLINKS)
|
|
|
|
add_llvm_tool_symlink(readelf llvm-readobj)
|
|
|
|
endif()
|