diff options
author | Alon Zakai <azakai@google.com> | 2022-11-28 16:47:04 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-29 00:47:04 +0000 |
commit | eeb838155dbff2fb6731f1ae5550cbb9494532fe (patch) | |
tree | 531f3900841cfd978d83723f09b92b6e9eefb9dd /test/lit/help/wasm-opt.test | |
parent | 2c0fb8c513b3534576383d250c593a9bd28347e3 (diff) | |
download | binaryen-eeb838155dbff2fb6731f1ae5550cbb9494532fe.tar.gz binaryen-eeb838155dbff2fb6731f1ae5550cbb9494532fe.tar.bz2 binaryen-eeb838155dbff2fb6731f1ae5550cbb9494532fe.zip |
Add a placeholder closed-world flag (#5298)
The flag does nothing so far.
Diffstat (limited to 'test/lit/help/wasm-opt.test')
-rw-r--r-- | test/lit/help/wasm-opt.test | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/lit/help/wasm-opt.test b/test/lit/help/wasm-opt.test index bdc4b9cd8..d7c70bc9e 100644 --- a/test/lit/help/wasm-opt.test +++ b/test/lit/help/wasm-opt.test @@ -551,6 +551,15 @@ ;; CHECK-NEXT: corner cases of NaNs and ;; CHECK-NEXT: rounding ;; CHECK-NEXT: +;; CHECK-NEXT: --closed-world,-cw Assume code outside of the +;; CHECK-NEXT: module does not inspect or +;; CHECK-NEXT: interact with GC and function +;; CHECK-NEXT: references, even if they are +;; CHECK-NEXT: passed out. The outside may hold +;; CHECK-NEXT: on to them and pass them back +;; CHECK-NEXT: in, but not inspect their +;; CHECK-NEXT: contents or call them. +;; CHECK-NEXT: ;; CHECK-NEXT: --zero-filled-memory,-uim Assume that an imported memory ;; CHECK-NEXT: will be zero-initialized ;; CHECK-NEXT: |