diff options
| author | Sam Clegg <sbc@chromium.org> | 2019-02-04 17:28:46 +0000 |
|---|---|---|
| committer | Sam Clegg <sbc@chromium.org> | 2019-02-04 17:28:46 +0000 |
| commit | d1152a267cb1e9d4f5793d5324a785f8d6ffa8a8 (patch) | |
| tree | 7cdd059cb84266b4ce57c84e210a5328626ac972 /llvm/test/Object | |
| parent | bf7593ec4a1ed4d1605796f862f65a7b7fcb4b3e (diff) | |
| download | bcm5719-llvm-d1152a267cb1e9d4f5793d5324a785f8d6ffa8a8.tar.gz bcm5719-llvm-d1152a267cb1e9d4f5793d5324a785f8d6ffa8a8.zip | |
[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
Diffstat (limited to 'llvm/test/Object')
| -rw-r--r-- | llvm/test/Object/objdump-relocations.test | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/test/Object/objdump-relocations.test b/llvm/test/Object/objdump-relocations.test index 3a1793e3daf..73e9a4866c6 100644 --- a/llvm/test/Object/objdump-relocations.test +++ b/llvm/test/Object/objdump-relocations.test @@ -60,10 +60,10 @@ ELF-MIPSEL: R_MIPS_CALL16 puts ELF-MIPSEL: R_MIPS_CALL16 SomeOtherFunction WASM: CODE -WASM-NEXT: R_WEBASSEMBLY_MEMORY_ADDR_SLEB .L.str -WASM-NEXT: R_WEBASSEMBLY_FUNCTION_INDEX_LEB puts -WASM-NEXT: R_WEBASSEMBLY_FUNCTION_INDEX_LEB .LSomeOtherFunction_bitcast -WASM-NEXT: R_WEBASSEMBLY_FUNCTION_INDEX_LEB SomeOtherFunction +WASM-NEXT: R_WASM_MEMORY_ADDR_SLEB .L.str +WASM-NEXT: R_WASM_FUNCTION_INDEX_LEB puts +WASM-NEXT: R_WASM_FUNCTION_INDEX_LEB .LSomeOtherFunction_bitcast +WASM-NEXT: R_WASM_FUNCTION_INDEX_LEB SomeOtherFunction ELF-complex-x86-64: .text ELF-complex-x86-64-NEXT: R_X86_64_8 .data-4 |

