aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/llvm12/lib/BinaryFormat/Wasm.cpp
diff options
context:
space:
mode:
authorshadchin <shadchin@yandex-team.ru>2022-02-10 16:44:39 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:44:39 +0300
commite9656aae26e0358d5378e5b63dcac5c8dbe0e4d0 (patch)
tree64175d5cadab313b3e7039ebaa06c5bc3295e274 /contrib/libs/llvm12/lib/BinaryFormat/Wasm.cpp
parent2598ef1d0aee359b4b6d5fdd1758916d5907d04f (diff)
downloadydb-e9656aae26e0358d5378e5b63dcac5c8dbe0e4d0.tar.gz
Restoring authorship annotation for <shadchin@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs/llvm12/lib/BinaryFormat/Wasm.cpp')
-rw-r--r--contrib/libs/llvm12/lib/BinaryFormat/Wasm.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/libs/llvm12/lib/BinaryFormat/Wasm.cpp b/contrib/libs/llvm12/lib/BinaryFormat/Wasm.cpp
index 9eff65f05a..126680ac41 100644
--- a/contrib/libs/llvm12/lib/BinaryFormat/Wasm.cpp
+++ b/contrib/libs/llvm12/lib/BinaryFormat/Wasm.cpp
@@ -14,8 +14,8 @@ std::string llvm::wasm::toString(wasm::WasmSymbolType Type) {
return "WASM_SYMBOL_TYPE_FUNCTION";
case wasm::WASM_SYMBOL_TYPE_GLOBAL:
return "WASM_SYMBOL_TYPE_GLOBAL";
- case wasm::WASM_SYMBOL_TYPE_TABLE:
- return "WASM_SYMBOL_TYPE_TABLE";
+ case wasm::WASM_SYMBOL_TYPE_TABLE:
+ return "WASM_SYMBOL_TYPE_TABLE";
case wasm::WASM_SYMBOL_TYPE_DATA:
return "WASM_SYMBOL_TYPE_DATA";
case wasm::WASM_SYMBOL_TYPE_SECTION:
@@ -48,9 +48,9 @@ bool llvm::wasm::relocTypeHasAddend(uint32_t Type) {
case R_WASM_MEMORY_ADDR_REL_SLEB64:
case R_WASM_MEMORY_ADDR_I32:
case R_WASM_MEMORY_ADDR_I64:
- case R_WASM_MEMORY_ADDR_TLS_SLEB:
+ case R_WASM_MEMORY_ADDR_TLS_SLEB:
case R_WASM_FUNCTION_OFFSET_I32:
- case R_WASM_FUNCTION_OFFSET_I64:
+ case R_WASM_FUNCTION_OFFSET_I64:
case R_WASM_SECTION_OFFSET_I32:
return true;
default: