[PATCH] D26172: Add llvm-objdump support for wasm file format

Sam Clegg via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 15 17:48:13 PST 2016


sbc100 added a comment.

I removed a lot of the code that is not needed for this initial PR.

Added tests for objdump -s, -p and -h.

The wasm file format as it stands today is designed as an executable file format.  We plan to use it for object files down the line but our initial target is to use bitcode linking and only emit the wasm file for the final binary.   The next phase is to design some extensions to the file format to allow for it to be used for object files also.

The binary format is described here: http://webassembly.org/docs/binary-encoding/

And the initial plan for extending the format for linkable object file is here: https://github.com/WebAssembly/tool-conventions/pull/3

@sunfish please correct me if I'm wrong here.


https://reviews.llvm.org/D26172





More information about the llvm-commits mailing list