summaryrefslogtreecommitdiffstats
path: root/lld/test/wasm/data-layout.ll
diff options
context:
space:
mode:
authorNicholas Wilson <nicholas@nicholaswilson.me.uk>2018-02-28 17:20:51 +0000
committerNicholas Wilson <nicholas@nicholaswilson.me.uk>2018-02-28 17:20:51 +0000
commit280f872bb23dcfdf312ae914a10e9079b4f1b670 (patch)
tree4a08e37629d2d1403a796d15fdbfbd5d9e63cd19 /lld/test/wasm/data-layout.ll
parent586320c075a49908a85dc1b5474859aa249069cd (diff)
downloadbcm5719-llvm-280f872bb23dcfdf312ae914a10e9079b4f1b670.tar.gz
bcm5719-llvm-280f872bb23dcfdf312ae914a10e9079b4f1b670.zip
[WebAssembly] Reorder symbol table to match MC order
Update LLD test expectations for new symbol ordering introduced by Differential D43685. Differential Revision: https://reviews.llvm.org/D43875 llvm-svn: 326335
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