[WebAssembly] Add a EM_WEBASSEMBLY value, and several bits of code that use it.
authorDan Gohman <dan433584@gmail.com>
Tue, 12 Jan 2016 20:56:01 +0000 (20:56 +0000)
committerDan Gohman <dan433584@gmail.com>
Tue, 12 Jan 2016 20:56:01 +0000 (20:56 +0000)
commitb8e08438aa60d3269b942181bc643b48c345c10c
tree30742caa10a821647c86d50ffcb8912721a6465d
parentb6ba98d0dd80d2dfc1bfeb30ea38f940c1a665f1
[WebAssembly] Add a EM_WEBASSEMBLY value, and several bits of code that use it.

A request has been made to the official registry, but an official value is
not yet available. This patch uses a temporary value in order to support
development. When an official value is recieved, the value of EM_WEBASSEMBLY
will be updated.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257517 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Object/ELFObjectFile.h
include/llvm/Support/ELF.h
lib/Object/ELF.cpp
lib/Target/WebAssembly/MCTargetDesc/WebAssemblyELFObjectWriter.cpp
lib/Target/WebAssembly/MCTargetDesc/WebAssemblyTargetStreamer.h
test/CodeGen/WebAssembly/func.ll
tools/llvm-objdump/llvm-objdump.cpp
tools/llvm-readobj/ELFDumper.cpp