mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-14 15:39:00 +00:00
349a48fadd
Mostly this change adds support converting to and from YAML which will allow us to write more test cases for the WebAssembly MC and lld ports. Better support for objdump, readelf, and nm will be in followup CLs. I had to update the two wasm test binaries because they used the old style 'name' section which is no longer supported. Differential Revision: https://reviews.llvm.org/D31099 Patch by Sam Clegg git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@299101 91177308-0d34-0410-b5e6-96231b3b80d8
17 lines
214 B
CMake
17 lines
214 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
DebugInfoDWARF
|
|
Object
|
|
ObjectYAML
|
|
Support
|
|
)
|
|
|
|
add_llvm_tool(obj2yaml
|
|
obj2yaml.cpp
|
|
coff2yaml.cpp
|
|
dwarf2yaml.cpp
|
|
elf2yaml.cpp
|
|
macho2yaml.cpp
|
|
wasm2yaml.cpp
|
|
Error.cpp
|
|
)
|