summaryrefslogtreecommitdiff
path: root/test/lit/help
diff options
context:
space:
mode:
authorAleksander Guryanov <caiiiycuk@gmail.com>2021-08-23 22:08:26 +0700
committerGitHub <noreply@github.com>2021-08-23 15:08:26 +0000
commit3d88d11176a26b1156b83a71bbc033c71772dabe (patch)
tree6bea0d6a5fc77ce50a474eedefd1df4be9149d20 /test/lit/help
parentf1aa78c022eb3f96a0d97e28ce9c35edbe7c45a1 (diff)
downloadbinaryen-3d88d11176a26b1156b83a71bbc033c71772dabe.tar.gz
binaryen-3d88d11176a26b1156b83a71bbc033c71772dabe.tar.bz2
binaryen-3d88d11176a26b1156b83a71bbc033c71772dabe.zip
wasm-split: accept file in keep-funcs/split-funcs (#4053)
Diffstat (limited to 'test/lit/help')
-rw-r--r--test/lit/help/wasm-split.test11
1 files changed, 9 insertions, 2 deletions
diff --git a/test/lit/help/wasm-split.test b/test/lit/help/wasm-split.test
index 28f079d2f..362c20d84 100644
--- a/test/lit/help/wasm-split.test
+++ b/test/lit/help/wasm-split.test
@@ -36,13 +36,20 @@
;; CHECK-NEXT:
;; CHECK-NEXT: --keep-funcs [split] Comma-separated list of functions
;; CHECK-NEXT: to keep in the primary module, regardless
-;; CHECK-NEXT: of any profile.
+;; CHECK-NEXT: of any profile. You can also pass a file
+;; CHECK-NEXT: with a list of functions separated by new
+;; CHECK-NEXT: lines. To do this, prepend @ before
+;; CHECK-NEXT: filename (--keep-funcs @myfile)
;; CHECK-NEXT:
;; CHECK-NEXT: --split-funcs [split] Comma-separated list of functions
;; CHECK-NEXT: to split into the secondary module,
;; CHECK-NEXT: regardless of any profile. If there is no
;; CHECK-NEXT: profile, then this defaults to all
-;; CHECK-NEXT: functions defined in the module.
+;; CHECK-NEXT: functions defined in the module. You can
+;; CHECK-NEXT: also pass a file with a list of functions
+;; CHECK-NEXT: separated by new lines. To do this,
+;; CHECK-NEXT: prepend @ before filename (--split-funcs
+;; CHECK-NEXT: @myfile)
;; CHECK-NEXT:
;; CHECK-NEXT: --primary-output,-o1 [split] Output file for the primary
;; CHECK-NEXT: module.