diff options
author | Alon Zakai <azakai@google.com> | 2023-01-13 10:06:56 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-13 18:06:56 +0000 |
commit | 26d3eaada5e8f386b4cfff64461792824c9ff596 (patch) | |
tree | 8971ac7c81d11dfa52e6b0a3b58a2b86a5d2cd4b /test/lit/help/wasm-as.test | |
parent | 589b3fde7511d53f2be251b5d741e422cde39ec6 (diff) | |
download | binaryen-26d3eaada5e8f386b4cfff64461792824c9ff596.tar.gz binaryen-26d3eaada5e8f386b4cfff64461792824c9ff596.tar.bz2 binaryen-26d3eaada5e8f386b4cfff64461792824c9ff596.zip |
Move closed world flag to tool options (#5428)
This allows tools like wasm-reduce to be told to operate in closed-world mode. That
lets them validate in the more strict way of that mode.
Diffstat (limited to 'test/lit/help/wasm-as.test')
-rw-r--r-- | test/lit/help/wasm-as.test | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/lit/help/wasm-as.test b/test/lit/help/wasm-as.test index c94dab310..976c66225 100644 --- a/test/lit/help/wasm-as.test +++ b/test/lit/help/wasm-as.test @@ -126,6 +126,13 @@ ;; CHECK-NEXT: parsed using the isorecursive hybrid type ;; CHECK-NEXT: system. ;; CHECK-NEXT: +;; CHECK-NEXT: --closed-world,-cw Assume code outside of the module does +;; CHECK-NEXT: not inspect or interact with GC and +;; CHECK-NEXT: function references, even if they are +;; CHECK-NEXT: passed out. The outside may hold on to +;; CHECK-NEXT: them and pass them back in, but not +;; CHECK-NEXT: inspect their contents or call them. +;; CHECK-NEXT: ;; CHECK-NEXT: ;; CHECK-NEXT: General options: ;; CHECK-NEXT: ---------------- |