summaryrefslogtreecommitdiffstats
path: root/llvm/test/ObjectYAML/wasm
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/ObjectYAML/wasm')
-rw-r--r--llvm/test/ObjectYAML/wasm/data_section.yaml5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/test/ObjectYAML/wasm/data_section.yaml b/llvm/test/ObjectYAML/wasm/data_section.yaml
index b8c65abbff9..521aa540278 100644
--- a/llvm/test/ObjectYAML/wasm/data_section.yaml
+++ b/llvm/test/ObjectYAML/wasm/data_section.yaml
@@ -8,7 +8,7 @@ Sections:
- Initial: 0x00000003
- Type: DATA
Segments:
- - Index: 0
+ - MemoryIndex: 0
Offset:
Opcode: I32_CONST
Value: 4
@@ -38,7 +38,8 @@ Sections:
# CHECK-NEXT: Offset: 0x00000006
# CHECK-NEXT: Addend: -6
# CHECK-NEXT: Segments:
-# CHECK-NEXT: - Index: 0
+# CHECK-NEXT: - SectionOffset: 6
+# CHECK-NEXT: MemoryIndex: 0
# CHECK-NEXT: Offset:
# CHECK-NEXT: Opcode: I32_CONST
# CHECK-NEXT: Value: 4
OpenPOWER on IntegriCloud