summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tools/wasm-emscripten-finalize.cpp6
-rw-r--r--test/lit/help/wasm-emscripten-finalize.test2
-rw-r--r--test/lit/help/wasm-fuzz-types.test29
3 files changed, 29 insertions, 8 deletions
diff --git a/src/tools/wasm-emscripten-finalize.cpp b/src/tools/wasm-emscripten-finalize.cpp
index 7f3e24e6a..aa9d32213 100644
--- a/src/tools/wasm-emscripten-finalize.cpp
+++ b/src/tools/wasm-emscripten-finalize.cpp
@@ -126,12 +126,6 @@ int main(int argc, const char* argv[]) {
[&sideModule](Options* o, const std::string& argument) {
sideModule = true;
})
- .add("--new-pic-abi",
- "",
- "Use new/llvm PIC abi",
- WasmEmscriptenFinalizeOption,
- Options::Arguments::Zero,
- [&](Options* o, const std::string& argument) {})
.add("--input-source-map",
"-ism",
"Consume source map from the specified file",
diff --git a/test/lit/help/wasm-emscripten-finalize.test b/test/lit/help/wasm-emscripten-finalize.test
index 1ed81729c..053179737 100644
--- a/test/lit/help/wasm-emscripten-finalize.test
+++ b/test/lit/help/wasm-emscripten-finalize.test
@@ -31,8 +31,6 @@
;; CHECK-NEXT:
;; CHECK-NEXT: --side-module Input is an emscripten side module
;; CHECK-NEXT:
-;; CHECK-NEXT: --new-pic-abi Use new/llvm PIC abi
-;; CHECK-NEXT:
;; CHECK-NEXT: --input-source-map,-ism Consume source map from the specified
;; CHECK-NEXT: file
;; CHECK-NEXT:
diff --git a/test/lit/help/wasm-fuzz-types.test b/test/lit/help/wasm-fuzz-types.test
new file mode 100644
index 000000000..684b2a677
--- /dev/null
+++ b/test/lit/help/wasm-fuzz-types.test
@@ -0,0 +1,29 @@
+;; RUN: wasm-fuzz-types --help | filecheck %s
+;; CHECK: ================================================================================
+;; CHECK-NEXT: wasm-fuzz-types
+;; CHECK-NEXT:
+;; CHECK-NEXT: Fuzz type construction, canonicalization, and operations
+;; CHECK-NEXT: ================================================================================
+;; CHECK-NEXT:
+;; CHECK-NEXT:
+;; CHECK-NEXT: wasm-fuzz-types options:
+;; CHECK-NEXT: ------------------------
+;; CHECK-NEXT:
+;; CHECK-NEXT: --seed Run a single workload generated by the given seed
+;; CHECK-NEXT:
+;; CHECK-NEXT: --verbose,-v Print extra information
+;; CHECK-NEXT:
+;; CHECK-NEXT: --nominal Use the nominal type system (default)
+;; CHECK-NEXT:
+;; CHECK-NEXT: --structural Use the equirecursive type system
+;; CHECK-NEXT:
+;; CHECK-NEXT:
+;; CHECK-NEXT: General options:
+;; CHECK-NEXT: ----------------
+;; CHECK-NEXT:
+;; CHECK-NEXT: --version Output version information and exit
+;; CHECK-NEXT:
+;; CHECK-NEXT: --help,-h Show this help message and exit
+;; CHECK-NEXT:
+;; CHECK-NEXT: --debug,-d Print debug information to stderr
+;; CHECK-NEXT: