From 6810b60d7281d3e847692fdfb06faf32c9a09e59 Mon Sep 17 00:00:00 2001 From: t4lz <12370607+t4lz@users.noreply.github.com> Date: Wed, 16 Feb 2022 19:54:58 +0100 Subject: 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. --- test/lit/help/wasm2js.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/lit/help/wasm2js.test') 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: -- cgit v1.2.3