]> granicus.if.org Git - llvm/commit
[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)
commit96488ce2b0743326e7884faf6323eef3b1c35e82
treeb443522e77d1104b0976f33d64106ee1059b5b8e
parentb5d50917cabd3ed074215019494f2af701764508
[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

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