Initial support for wasm object file format
Support for the wasm binary format in the following tools:
- obj2yaml
- yaml2obj
- llvm-readobj
- llvm-objdump
- llvm-size
Paths
| Differential D25590
Add initial support for WebAssembly binary format AbandonedPublic Authored by sbc100 on Oct 13 2016, 7:20 PM.
Details
Diff Detail
Event Timelinesbc100 updated this object. Herald added subscribers: modocache, mgorny, beanz and 2 others. · View Herald TranscriptOct 13 2016, 7:20 PM
sbc100 marked 15 inline comments as done. sbc100 edited edge metadata. Comment ActionsAdd objdump support sunfish edited edge metadata. Comment ActionsCool! This looks like a great start!
This revision is now accepted and ready to land.Oct 20 2016, 12:11 PM
sbc100 marked 2 inline comments as done. sbc100 edited edge metadata. Comment ActionsParse all non-code sections.
Comment Actions
All spec tests can now be round-tripped to YAML
Bigcheese edited edge metadata. Comment ActionsThis patch is a bit too big. I'd prefer if you picked one of the tools and did that first. llvm-objdump is a good place to start.
This revision now requires changes to proceed.Oct 29 2016, 8:24 PM sbc100 edited edge metadata. sbc100 marked 10 inline comments as done. Comment Actions
Comment Actions Closing in favor of https://reviews.llvm.org/D26172
Revision Contents
Diff 74611 include/llvm/Object/Binary.h
include/llvm/Object/ObjectFile.h
include/llvm/Object/Wasm.h
include/llvm/ObjectYAML/WasmYAML.h
include/llvm/Support/FileSystem.h
lib/Object/Binary.cpp
lib/Object/CMakeLists.txt
lib/Object/ObjectFile.cpp
lib/Object/SymbolicFile.cpp
lib/Object/WasmObjectFile.cpp
lib/ObjectYAML/CMakeLists.txt
lib/ObjectYAML/WasmYAML.cpp
lib/Support/Path.cpp
tools/obj2yaml/CMakeLists.txt
tools/obj2yaml/coff2yaml.cpp
tools/obj2yaml/obj2yaml.h
tools/obj2yaml/obj2yaml.cpp
tools/obj2yaml/wasm2yaml.cpp
|
implement->implements