summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/lld/em_asm.wat2
-rw-r--r--test/lld/em_asm_O0.wat2
-rw-r--r--test/lld/em_asm_shared.wat4
-rw-r--r--test/lld/em_asm_shared.wat.out2
-rw-r--r--test/lld/hello_world.wat2
-rw-r--r--test/lld/init.wat2
-rw-r--r--test/lld/longjmp.wat2
-rw-r--r--test/lld/recursive.wat2
-rw-r--r--test/lld/reserved_func_ptr.wat2
-rw-r--r--test/lld/shared.wat4
-rw-r--r--test/lld/shared.wat.out2
-rw-r--r--test/lld/shared_longjmp.wat4
-rw-r--r--test/lld/shared_longjmp.wat.out2
13 files changed, 16 insertions, 16 deletions
diff --git a/test/lld/em_asm.wat b/test/lld/em_asm.wat
index f09c25b06..f91f7321e 100644
--- a/test/lld/em_asm.wat
+++ b/test/lld/em_asm.wat
@@ -65,6 +65,6 @@
(func $main (param $0 i32) (param $1 i32) (result i32)
(call $__original_main)
)
- ;; custom section "producers", size 157
+ ;; custom section "producers", size 112
)
diff --git a/test/lld/em_asm_O0.wat b/test/lld/em_asm_O0.wat
index 4b509ffaf..b1628f158 100644
--- a/test/lld/em_asm_O0.wat
+++ b/test/lld/em_asm_O0.wat
@@ -90,6 +90,6 @@
)
(local.get $3)
)
- ;; custom section "producers", size 157
+ ;; custom section "producers", size 112
)
diff --git a/test/lld/em_asm_shared.wat b/test/lld/em_asm_shared.wat
index 586118cb4..bcb15d823 100644
--- a/test/lld/em_asm_shared.wat
+++ b/test/lld/em_asm_shared.wat
@@ -3,7 +3,7 @@
(type $none_=>_i32 (func (result i32)))
(type $i32_i32_=>_i32 (func (param i32 i32) (result i32)))
(type $i32_i32_i32_=>_i32 (func (param i32 i32 i32) (result i32)))
- (import "env" "memory" (memory $0 0))
+ (import "env" "memory" (memory $mimport$0 0))
(data (global.get $gimport$3) "{ Module.print(\"Hello world\"); }\00\00{ return $0 + $1; }\00ii\00{ Module.print(\"Got \" + $0); }\00i\00")
(import "env" "__indirect_function_table" (table $timport$1 0 funcref))
(import "env" "__stack_pointer" (global $gimport$2 (mut i32)))
@@ -94,6 +94,6 @@
;; memoryalignment: 0
;; tablesize: 0
;; tablealignment: 0
- ;; custom section "producers", size 157
+ ;; custom section "producers", size 112
)
diff --git a/test/lld/em_asm_shared.wat.out b/test/lld/em_asm_shared.wat.out
index 40eabcc24..b2e71f940 100644
--- a/test/lld/em_asm_shared.wat.out
+++ b/test/lld/em_asm_shared.wat.out
@@ -4,7 +4,7 @@
(type $i32_=>_none (func (param i32)))
(type $i32_i32_=>_i32 (func (param i32 i32) (result i32)))
(type $i32_i32_i32_=>_i32 (func (param i32 i32 i32) (result i32)))
- (import "env" "memory" (memory $0 0))
+ (import "env" "memory" (memory $mimport$0 0))
(data (global.get $gimport$3) "{ Module.print(\"Hello world\"); }\00\00{ return $0 + $1; }\00ii\00{ Module.print(\"Got \" + $0); }\00i\00")
(import "env" "table" (table $timport$1 0 funcref))
(import "env" "__memory_base" (global $gimport$3 i32))
diff --git a/test/lld/hello_world.wat b/test/lld/hello_world.wat
index 153c3ac12..aa7f086ba 100644
--- a/test/lld/hello_world.wat
+++ b/test/lld/hello_world.wat
@@ -26,6 +26,6 @@
(func $main (param $0 i32) (param $1 i32) (result i32)
(call $__original_main)
)
- ;; custom section "producers", size 157
+ ;; custom section "producers", size 112
)
diff --git a/test/lld/init.wat b/test/lld/init.wat
index e4114108f..89af36bd4 100644
--- a/test/lld/init.wat
+++ b/test/lld/init.wat
@@ -39,6 +39,6 @@
(func $main (param $0 i32) (param $1 i32) (result i32)
(call $__original_main)
)
- ;; custom section "producers", size 157
+ ;; custom section "producers", size 112
)
diff --git a/test/lld/longjmp.wat b/test/lld/longjmp.wat
index ec9709165..1e26f0dd5 100644
--- a/test/lld/longjmp.wat
+++ b/test/lld/longjmp.wat
@@ -131,6 +131,6 @@
(func $2 (param $0 i32) (param $1 i32) (result i32)
(call $1)
)
- ;; custom section "producers", size 157
+ ;; custom section "producers", size 112
)
diff --git a/test/lld/recursive.wat b/test/lld/recursive.wat
index 00138cceb..767f3d82a 100644
--- a/test/lld/recursive.wat
+++ b/test/lld/recursive.wat
@@ -83,6 +83,6 @@
(func $main (param $0 i32) (param $1 i32) (result i32)
(call $__original_main)
)
- ;; custom section "producers", size 157
+ ;; custom section "producers", size 112
)
diff --git a/test/lld/reserved_func_ptr.wat b/test/lld/reserved_func_ptr.wat
index 4b118a8d7..b3cac4043 100644
--- a/test/lld/reserved_func_ptr.wat
+++ b/test/lld/reserved_func_ptr.wat
@@ -106,6 +106,6 @@
)
(i32.const 0)
)
- ;; custom section "producers", size 157
+ ;; custom section "producers", size 112
)
diff --git a/test/lld/shared.wat b/test/lld/shared.wat
index 630b27516..32bb8cc26 100644
--- a/test/lld/shared.wat
+++ b/test/lld/shared.wat
@@ -2,7 +2,7 @@
(type $none_=>_none (func))
(type $none_=>_i32 (func (result i32)))
(type $i32_=>_i32 (func (param i32) (result i32)))
- (import "env" "memory" (memory $0 0))
+ (import "env" "memory" (memory $mimport$0 0))
(data (global.get $gimport$2) "Hello, world\00\00\00\00\00\00\00\00\00\00\00\00")
(import "env" "__indirect_function_table" (table $timport$1 0 funcref))
(import "env" "__memory_base" (global $gimport$2 i32))
@@ -54,6 +54,6 @@
;; memoryalignment: 2
;; tablesize: 0
;; tablealignment: 0
- ;; custom section "producers", size 157
+ ;; custom section "producers", size 112
)
diff --git a/test/lld/shared.wat.out b/test/lld/shared.wat.out
index 4451ac44b..c5e0352e1 100644
--- a/test/lld/shared.wat.out
+++ b/test/lld/shared.wat.out
@@ -2,7 +2,7 @@
(type $none_=>_none (func))
(type $none_=>_i32 (func (result i32)))
(type $i32_=>_i32 (func (param i32) (result i32)))
- (import "env" "memory" (memory $0 0))
+ (import "env" "memory" (memory $mimport$0 0))
(data (global.get $gimport$2) "Hello, world\00\00\00\00\00\00\00\00\00\00\00\00")
(import "env" "table" (table $timport$1 0 funcref))
(import "env" "__memory_base" (global $gimport$2 i32))
diff --git a/test/lld/shared_longjmp.wat b/test/lld/shared_longjmp.wat
index 753d628d9..a7f520bda 100644
--- a/test/lld/shared_longjmp.wat
+++ b/test/lld/shared_longjmp.wat
@@ -7,7 +7,7 @@
(type $i32_=>_i32 (func (param i32) (result i32)))
(type $i32_i32_i32_=>_i32 (func (param i32 i32 i32) (result i32)))
(type $i32_i32_i32_i32_=>_i32 (func (param i32 i32 i32 i32) (result i32)))
- (import "env" "memory" (memory $0 0))
+ (import "env" "memory" (memory $mimport$0 0))
(data (global.get $gimport$2) "\00\00\00\00\00\00\00\00")
(import "env" "__indirect_function_table" (table $timport$1 0 funcref))
(import "env" "__memory_base" (global $gimport$2 i32))
@@ -143,6 +143,6 @@
;; memoryalignment: 2
;; tablesize: 0
;; tablealignment: 0
- ;; custom section "producers", size 157
+ ;; custom section "producers", size 112
)
diff --git a/test/lld/shared_longjmp.wat.out b/test/lld/shared_longjmp.wat.out
index 8c7b97a32..cc42f7368 100644
--- a/test/lld/shared_longjmp.wat.out
+++ b/test/lld/shared_longjmp.wat.out
@@ -7,7 +7,7 @@
(type $i32_=>_i32 (func (param i32) (result i32)))
(type $i32_i32_i32_=>_i32 (func (param i32 i32 i32) (result i32)))
(type $i32_i32_i32_i32_=>_i32 (func (param i32 i32 i32 i32) (result i32)))
- (import "env" "memory" (memory $0 0))
+ (import "env" "memory" (memory $mimport$0 0))
(data (global.get $gimport$2) "\00\00\00\00\00\00\00\00")
(import "env" "table" (table $timport$1 0 funcref))
(import "env" "__memory_base" (global $gimport$2 i32))