summaryrefslogtreecommitdiff
path: root/test/lit/help/wasm2js.test
diff options
context:
space:
mode:
authort4lz <12370607+t4lz@users.noreply.github.com>2022-02-16 19:54:58 +0100
committerGitHub <noreply@github.com>2022-02-16 10:54:58 -0800
commit6810b60d7281d3e847692fdfb06faf32c9a09e59 (patch)
tree8ec228aec8e3f61d7d0aca1d6345ad0c6731f8ea /test/lit/help/wasm2js.test
parenta2552f119733d4ff1d86bfba97405d5ebc2e698b (diff)
downloadbinaryen-6810b60d7281d3e847692fdfb06faf32c9a09e59.tar.gz
binaryen-6810b60d7281d3e847692fdfb06faf32c9a09e59.tar.bz2
binaryen-6810b60d7281d3e847692fdfb06faf32c9a09e59.zip
Clarify in tools help message that -O == -Os. (#4516)
Introduce static consts with PassOptions Defaults. Add assertion to verify that the default options are the Os options. Also update the text in relevant tests.
Diffstat (limited to 'test/lit/help/wasm2js.test')
-rw-r--r--test/lit/help/wasm2js.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lit/help/wasm2js.test b/test/lit/help/wasm2js.test
index f02ce4c2a..f24f348a7 100644
--- a/test/lit/help/wasm2js.test
+++ b/test/lit/help/wasm2js.test
@@ -384,7 +384,7 @@
;; CHECK-NEXT: ---------------------
;; CHECK-NEXT:
;; CHECK-NEXT: -O execute default optimization
-;; CHECK-NEXT: passes
+;; CHECK-NEXT: passes (equivalent to -Os)
;; CHECK-NEXT:
;; CHECK-NEXT: -O0 execute no optimization passes
;; CHECK-NEXT: