summaryrefslogtreecommitdiff
path: root/test/lit/wasm-split
diff options
context:
space:
mode:
Diffstat (limited to 'test/lit/wasm-split')
-rw-r--r--test/lit/wasm-split/export-name-already-exists.wast1
-rw-r--r--test/lit/wasm-split/instrument-in-memory.wast1
-rw-r--r--test/lit/wasm-split/merge-profiles.wast1
-rw-r--r--test/lit/wasm-split/mismatched-hashes.wast1
4 files changed, 4 insertions, 0 deletions
diff --git a/test/lit/wasm-split/export-name-already-exists.wast b/test/lit/wasm-split/export-name-already-exists.wast
index 708929e98..83951795a 100644
--- a/test/lit/wasm-split/export-name-already-exists.wast
+++ b/test/lit/wasm-split/export-name-already-exists.wast
@@ -4,5 +4,6 @@
;; CHECK: error: Export foo already exists.
(module
+ (memory 0 0)
(export "foo" (memory 0 0))
)
diff --git a/test/lit/wasm-split/instrument-in-memory.wast b/test/lit/wasm-split/instrument-in-memory.wast
index 568ce2207..3a3c19d7f 100644
--- a/test/lit/wasm-split/instrument-in-memory.wast
+++ b/test/lit/wasm-split/instrument-in-memory.wast
@@ -7,6 +7,7 @@
(module
(import "env" "foo" (func $foo))
(export "bar" (func $bar))
+ (memory $0 1 1)
(func $bar
(call $foo)
)
diff --git a/test/lit/wasm-split/merge-profiles.wast b/test/lit/wasm-split/merge-profiles.wast
index fdaf6678e..2d09fefaa 100644
--- a/test/lit/wasm-split/merge-profiles.wast
+++ b/test/lit/wasm-split/merge-profiles.wast
@@ -22,6 +22,7 @@
;; SPLIT-NEXT: Splitting out functions: qux{{$}}
(module
+ (memory 0 0)
(export "memory" (memory 0 0))
(export "foo" (func $foo))
(export "bar" (func $bar))
diff --git a/test/lit/wasm-split/mismatched-hashes.wast b/test/lit/wasm-split/mismatched-hashes.wast
index fd3ebb8d3..347fb1746 100644
--- a/test/lit/wasm-split/mismatched-hashes.wast
+++ b/test/lit/wasm-split/mismatched-hashes.wast
@@ -19,5 +19,6 @@
;; RUN: wasm-split %s --profile=%t.prof -o1 %t.1.wasm -o2 %t.2.wasm
(module
+ (memory 0 0)
(export "memory" (memory 0 0))
)