aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/ObjectYAML
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/test/ObjectYAML
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/test/ObjectYAML')
-rw-r--r--llvm/test/ObjectYAML/wasm/event_section.yaml22
1 files changed, 11 insertions, 11 deletions
diff --git a/llvm/test/ObjectYAML/wasm/event_section.yaml b/llvm/test/ObjectYAML/wasm/event_section.yaml
index 54f27d6c..2eeaa73 100644
--- a/llvm/test/ObjectYAML/wasm/event_section.yaml
+++ b/llvm/test/ObjectYAML/wasm/event_section.yaml
@@ -17,14 +17,14 @@ Sections:
ReturnTypes: []
- Type: FUNCTION
FunctionTypes: [ 0 ]
- - Type: EVENT
- Events:
+ - Type: TAG
+ Tags:
- Index: 0
Attribute: 0
SigIndex: 1
- Type: CODE
Relocations:
- - Type: R_WASM_EVENT_INDEX_LEB
+ - Type: R_WASM_TAG_INDEX_LEB
Index: 1
Offset: 0x00000006
- Type: 10
@@ -44,10 +44,10 @@ Sections:
Flags: [ ]
Function: 0
- Index: 1
- Kind: EVENT
+ Kind: TAG
Name: __cpp_exception
Flags: [ BINDING_WEAK ]
- Event: 0
+ Tag: 0
...
# CHECK: --- !WASM
@@ -67,17 +67,17 @@ Sections:
# CHECK-NEXT: ReturnTypes: []
# CHECK-NEXT: - Type: FUNCTION
# CHECK-NEXT: FunctionTypes: [ 0 ]
-# CHECK-NEXT: - Type: EVENT
-# CHECK-NEXT: Events:
+# CHECK-NEXT: - Type: TAG
+# CHECK-NEXT: Tags:
# CHECK-NEXT: - Index: 0
# CHECK-NEXT: Attribute: 0
# CHECK-NEXT: SigIndex: 1
# CHECK-NEXT: - Type: CODE
# CHECK-NEXT: Relocations:
-# CHECK-NEXT: - Type: R_WASM_EVENT_INDEX_LEB
+# CHECK-NEXT: - Type: R_WASM_TAG_INDEX_LEB
# CHECK-NEXT: Index: 1
# CHECK-NEXT: Offset: 0x6
-# CHECK-NEXT: - Type: R_WASM_EVENT_INDEX_LEB
+# CHECK-NEXT: - Type: R_WASM_TAG_INDEX_LEB
# CHECK-NEXT: Index: 1
# CHECK-NEXT: Offset: 0x6
# CHECK-NEXT: Functions:
@@ -94,7 +94,7 @@ Sections:
# CHECK-NEXT: Flags: [ ]
# CHECK-NEXT: Function: 0
# CHECK-NEXT: - Index: 1
-# CHECK-NEXT: Kind: EVENT
+# CHECK-NEXT: Kind: TAG
# CHECK-NEXT: Name: __cpp_exception
# CHECK-NEXT: Flags: [ BINDING_WEAK ]
-# CHECK-NEXT: Event: 0
+# CHECK-NEXT: Tag: 0