summaryrefslogtreecommitdiff
path: root/test/lit/help
diff options
context:
space:
mode:
authorAshley Nelson <nashley@google.com>2022-09-15 15:59:49 -0700
committerGitHub <noreply@github.com>2022-09-15 15:59:49 -0700
commit2a06bb4a7315162328d091a6eb2bb04fb53018c5 (patch)
treeb67ad2833ccb7687e9c20c419c8df43de13aa723 /test/lit/help
parent2fdb22bc26185e94ccd775bbfe8ea271be03df45 (diff)
downloadbinaryen-2a06bb4a7315162328d091a6eb2bb04fb53018c5.tar.gz
binaryen-2a06bb4a7315162328d091a6eb2bb04fb53018c5.tar.bz2
binaryen-2a06bb4a7315162328d091a6eb2bb04fb53018c5.zip
Multi-Memories wasm-split (#4977)
Adds an --in-secondary-memory switch to the wasm-split tool that allows profile data to be stored in a separate memory from module main memory. With this option, users do not need to reserve the initial memory region for profile data and the data can be shared between multiple threads.
Diffstat (limited to 'test/lit/help')
-rw-r--r--test/lit/help/wasm-split.test22
1 files changed, 19 insertions, 3 deletions
diff --git a/test/lit/help/wasm-split.test b/test/lit/help/wasm-split.test
index 1994c681a..2e798b077 100644
--- a/test/lit/help/wasm-split.test
+++ b/test/lit/help/wasm-split.test
@@ -54,9 +54,13 @@
;; CHECK-NEXT: --placeholdermap [split] Write a file mapping placeholder
;; CHECK-NEXT: indices to the function names.
;; CHECK-NEXT:
-;; CHECK-NEXT: --import-namespace [split] The namespace from which to import
-;; CHECK-NEXT: objects from the primary module into the
-;; CHECK-NEXT: secondary module.
+;; CHECK-NEXT: --import-namespace [split, instrument] When provided as an
+;; CHECK-NEXT: option for module splitting, the namespace
+;; CHECK-NEXT: from which to import objects from the
+;; CHECK-NEXT: primary module into the secondary module.
+;; CHECK-NEXT: In instrument mode, refers to the
+;; CHECK-NEXT: namespace from which to import the
+;; CHECK-NEXT: secondary memory, if any.
;; CHECK-NEXT:
;; CHECK-NEXT: --placeholder-namespace [split] The namespace from which to import
;; CHECK-NEXT: placeholder functions into the primary
@@ -85,6 +89,18 @@
;; CHECK-NEXT: does not use the initial memory region for
;; CHECK-NEXT: anything else.
;; CHECK-NEXT:
+;; CHECK-NEXT: --in-secondary-memory [instrument] Store profile information in
+;; CHECK-NEXT: a separate memory, rather than in module
+;; CHECK-NEXT: main memory or globals (the default). With
+;; CHECK-NEXT: this option, users do not need to reserve
+;; CHECK-NEXT: the initial memory region for profile data
+;; CHECK-NEXT: and the data can be shared between
+;; CHECK-NEXT: multiple threads.
+;; CHECK-NEXT:
+;; CHECK-NEXT: --secondary-memory-name [instrument] The name of the secondary
+;; CHECK-NEXT: memory created to store profile
+;; CHECK-NEXT: information.
+;; CHECK-NEXT:
;; CHECK-NEXT: --emit-module-names [split, instrument] Emit module names,
;; CHECK-NEXT: even if not emitting the rest of the names
;; CHECK-NEXT: section. Can help differentiate the