1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00
llvm-mirror/tools/obj2yaml/CMakeLists.txt
Georgii Rymar fbecfa6986 [obj2yaml] - Cleanup error reporting (remove Error.cpp/.h files)
This removes Error.cpp/.h files from obj2yaml.
These files are not needed because we are
using `Error`s instead of error codes widely and do
not need a logic related to obj2yaml specific
error codes anymore.

I had to adjust just a few lines of tool's code
to remove remaining dependencies.

Differential revision: https://reviews.llvm.org/D86536
2020-08-26 14:25:11 +03:00

20 lines
274 B
CMake

set(LLVM_LINK_COMPONENTS
BinaryFormat
DebugInfoCodeView
DebugInfoDWARF
Object
ObjectYAML
Support
)
add_llvm_tool(obj2yaml
obj2yaml.cpp
coff2yaml.cpp
dwarf2yaml.cpp
elf2yaml.cpp
macho2yaml.cpp
minidump2yaml.cpp
xcoff2yaml.cpp
wasm2yaml.cpp
)