summaryrefslogtreecommitdiffstats
path: root/lld/test/wasm/data-layout.ll
diff options
context:
space:
mode:
Diffstat (limited to 'lld/test/wasm/data-layout.ll')
-rw-r--r--lld/test/wasm/data-layout.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/lld/test/wasm/data-layout.ll b/lld/test/wasm/data-layout.ll
index 0bb86420596..e1e64b3d425 100644
--- a/lld/test/wasm/data-layout.ll
+++ b/lld/test/wasm/data-layout.ll
@@ -49,7 +49,7 @@ target triple = "wasm32-unknown-unknown-wasm"
; RELOC: - Type: DATA
; RELOC-NEXT: Relocations:
; RELOC-NEXT: - Type: R_WEBASSEMBLY_MEMORY_ADDR_I32
-; RELOC-NEXT: Index: 5
+; RELOC-NEXT: Index: 4
; RELOC-NEXT: Offset: 0x00000018
; RELOC-NEXT: Segments:
; RELOC-NEXT: - SectionOffset: 6
@@ -98,7 +98,7 @@ target triple = "wasm32-unknown-unknown-wasm"
; RELOC-NEXT: Flags: [ ]
; RELOC-NEXT: Segment: 2
; RELOC-NEXT: Size: 4
-; RELOC: - Index: 5
+; RELOC: - Index: 4
; RELOC-NEXT: Kind: DATA
; RELOC-NEXT: Name: hello_str
; RELOC-NEXT: Flags: [ ]
OpenPOWER on IntegriCloud