aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/BinaryFormat/Wasm.cpp
diff options
context:
space:
mode:
authorHeejin Ahn <aheejin@gmail.com>2021-06-15 01:49:43 -0700
committerHeejin Ahn <aheejin@gmail.com>2021-06-17 20:34:19 -0700
commit1d891d44f33f99c55e779acaeac4628e4ac9aaaf (patch)
treeed05e40d4fa4c7001f0da4a088f6e8fc54091091 /llvm/lib/BinaryFormat/Wasm.cpp
parent6aaf4fa2885600b0e31042071ad06f78218ab0f2 (diff)
downloadllvm-1d891d44f33f99c55e779acaeac4628e4ac9aaaf.zip
llvm-1d891d44f33f99c55e779acaeac4628e4ac9aaaf.tar.gz
llvm-1d891d44f33f99c55e779acaeac4628e4ac9aaaf.tar.bz2
[WebAssembly] Rename event to tag
We recently decided to change 'event' to 'tag', and 'event section' to 'tag section', out of the rationale that the section contains a generalized tag that references a type, which may be used for something other than exceptions, and the name 'event' can be confusing in the web context. See - https://github.com/WebAssembly/exception-handling/issues/159#issuecomment-857910130 - https://github.com/WebAssembly/exception-handling/pull/161 Reviewed By: tlively Differential Revision: https://reviews.llvm.org/D104423
Diffstat (limited to 'llvm/lib/BinaryFormat/Wasm.cpp')
-rw-r--r--llvm/lib/BinaryFormat/Wasm.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/BinaryFormat/Wasm.cpp b/llvm/lib/BinaryFormat/Wasm.cpp
index 81264a9..4192622 100644
--- a/llvm/lib/BinaryFormat/Wasm.cpp
+++ b/llvm/lib/BinaryFormat/Wasm.cpp
@@ -20,8 +20,8 @@ std::string llvm::wasm::toString(wasm::WasmSymbolType Type) {
return "WASM_SYMBOL_TYPE_DATA";
case wasm::WASM_SYMBOL_TYPE_SECTION:
return "WASM_SYMBOL_TYPE_SECTION";
- case wasm::WASM_SYMBOL_TYPE_EVENT:
- return "WASM_SYMBOL_TYPE_EVENT";
+ case wasm::WASM_SYMBOL_TYPE_TAG:
+ return "WASM_SYMBOL_TYPE_TAG";
}
llvm_unreachable("unknown symbol type");
}