From c93009422574e54797736ce4b346804943a14d32 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Mon, 16 Dec 2024 16:13:17 -0800 Subject: [wasm-reduce] Add an option to save all interim working files as we reduce (#7154) With this option, each time we reduce we save a file w.wasm.17 or such, incrementing that counter. This is useful when debugging the reducer, but might have more uses. --- test/lit/help/wasm-reduce.test | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/lit/help') diff --git a/test/lit/help/wasm-reduce.test b/test/lit/help/wasm-reduce.test index d02d46fd7..5116b7bea 100644 --- a/test/lit/help/wasm-reduce.test +++ b/test/lit/help/wasm-reduce.test @@ -51,6 +51,9 @@ ;; CHECK-NEXT: wasm-opt while reducing. (default: ;; CHECK-NEXT: --enable-all) ;; CHECK-NEXT: +;; CHECK-NEXT: --save-all-working,-saw Save all intermediate working files, as +;; CHECK-NEXT: $WORKING.0, .1, .2 etc +;; CHECK-NEXT: ;; CHECK-NEXT: ;; CHECK-NEXT: Tool options: ;; CHECK-NEXT: ------------- -- cgit v1.2.3