mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 19:12:56 +02:00
fbecfa6986
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
20 lines
274 B
CMake
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
|
|
)
|