Skip to content

Support pause/resume through Try #8667

@stevenfontanella

Description

@stevenfontanella

Run from the latest main e29edae. Reduced WAT.

Command:

 bin/wasm-opt   --enable-threads \
  --enable-mutable-globals \
  --enable-nontrapping-float-to-int \
  --enable-simd \
  --enable-bulk-memory \
  --enable-sign-ext \
  --enable-exception-handling \
  --enable-tail-call \
  --enable-reference-types \
  --enable-gc \
  --enable-memory64 \
  --enable-relaxed-simd \
  --enable-extended-const \
  --enable-strings \
  --enable-multimemory \
  --enable-stack-switching \
  --enable-shared-everything \
  --enable-bulk-memory-opt \
  --enable-call-indirect-overlong \
  --enable-custom-descriptors \
  --enable-relaxed-atomics \
  --enable-custom-page-sizes \
  --enable-multibyte \
  --enable-wide-arithmetic \
  --closed-world \
  --fuzz-exec \
  fuzzed.wast

Output:

wasm-opt: /usr/local/google/home/stevenfont/code/binaryen-jj/binaryen/src/wasm-interpreter.h:4844: wasm::Flow wasm::ModuleRunnerBase<SubType>::visitTry(wasm::Try*) [with SubType = wasm::ModuleRunner]: Assertion `!self()->isResuming()' failed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions