[WebAssembly] Rename relocations from R_WEBASSEMBLY_ to R_WASM_
authorSam Clegg <sbc@chromium.org>
Mon, 4 Feb 2019 17:28:46 +0000 (17:28 +0000)
committerSam Clegg <sbc@chromium.org>
Mon, 4 Feb 2019 17:28:46 +0000 (17:28 +0000)
commitd1152a267cb1e9d4f5793d5324a785f8d6ffa8a8
tree7cdd059cb84266b4ce57c84e210a5328626ac972
parentbf7593ec4a1ed4d1605796f862f65a7b7fcb4b3e
[WebAssembly] Rename relocations from R_WEBASSEMBLY_ to R_WASM_

See https://github.com/WebAssembly/tool-conventions/pull/95.

This is less typing and IMHO more readable, and it also fits with
our naming around the binary format which tends to use the short name.
e.g.

include/llvm/BinaryFormat/Wasm.h
tools/llvm-objdump/WasmDump.cpp
etc..

Differential Revision: https://reviews.llvm.org/D57611

llvm-svn: 353062
27 files changed:
llvm/include/llvm/BinaryFormat/WasmRelocs.def
llvm/include/llvm/Object/RelocVisitor.h
llvm/lib/MC/WasmObjectWriter.cpp
llvm/lib/Object/WasmObjectFile.cpp
llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyWasmObjectWriter.cpp
llvm/test/MC/WebAssembly/assembler-binary.ll
llvm/test/MC/WebAssembly/comdat.ll
llvm/test/MC/WebAssembly/debug-info.ll
llvm/test/MC/WebAssembly/event-section.ll
llvm/test/MC/WebAssembly/external-data.ll
llvm/test/MC/WebAssembly/external-func-address.ll
llvm/test/MC/WebAssembly/func-address.ll
llvm/test/MC/WebAssembly/global-ctor-dtor.ll
llvm/test/MC/WebAssembly/reloc-code.ll
llvm/test/MC/WebAssembly/reloc-data.ll
llvm/test/MC/WebAssembly/stack-ptr.ll
llvm/test/MC/WebAssembly/unnamed-data.ll
llvm/test/MC/WebAssembly/weak-alias.ll
llvm/test/Object/objdump-relocations.test
llvm/test/ObjectYAML/wasm/code_section.yaml
llvm/test/ObjectYAML/wasm/data_section.yaml
llvm/test/ObjectYAML/wasm/event_section.yaml
llvm/test/tools/llvm-objdump/WebAssembly/relocations.test
llvm/test/tools/llvm-readobj/relocations.test
llvm/tools/llvm-objdump/WasmDump.cpp
llvm/tools/llvm-readobj/WasmDumper.cpp
llvm/tools/yaml2obj/yaml2wasm.cpp