summaryrefslogtreecommitdiff
path: root/test/lit/help/wasm-as.test
blob: 4bf8f4494db2927c1bbcad1a1971064f6bb1cfce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
;; RUN: wasm-as --help | filecheck %s

;; CHECK:      wasm-as INFILE
;; CHECK-NEXT:
;; CHECK-NEXT: Assemble a .wat (WebAssembly text format) into a .wasm (WebAssembly binary
;; CHECK-NEXT: format)

;; Skip standard tool options

;; CHECK:        --no-validation,-n                   Disables validation, assumes inputs are
;; CHECK-NEXT:                                        correct
;; CHECK-NEXT:
;; CHECK-NEXT:   --pass-arg,-pa                       An argument passed along to optimization
;; CHECK-NEXT:                                        passes being run. Must be in the form
;; CHECK-NEXT:                                        KEY@VALUE
;; CHECK-NEXT:
;; CHECK-NEXT:   --nominal                            Use the prototype nominal type system
;; CHECK-NEXT:                                        instead of the normal equirecursive type
;; CHECK-NEXT:                                        system.
;; CHECK-NEXT:
;; CHECK-NEXT:   --output,-o                          Output file (stdout if not specified)
;; CHECK-NEXT:
;; CHECK-NEXT:   --validate,-v                        Control validation of the output module
;; CHECK-NEXT:
;; CHECK-NEXT:   --debuginfo,-g                       Emit names section and debug info
;; CHECK-NEXT:
;; CHECK-NEXT:   --source-map,-sm                     Emit source map to the specified file
;; CHECK-NEXT:
;; CHECK-NEXT:   --source-map-url,-su                 Use specified string as source map URL
;; CHECK-NEXT:
;; CHECK-NEXT:   --symbolmap,-s                       Emit a symbol map (indexes => names)