| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
The only major change to the interpreter is to move segment
initialization out `ReadBinaryInterp` (in the binary reader) and into
interp.cc. This is because the test suite now expects out of bound
semgments to be reported during initialization rather than reported
as validation errors.
|
|
|
|
|
| |
This adds a new TOOL: `run-gen-wasm-bad` which is the same as
`run-gen-wasm`, but assumes that both `wasm2wat` and `wasm-validate`
will fail with an error.
|
|
|
|
|
|
|
|
| |
Each command can specify its expected returncode. If the returncode
doesn't match when the command is run, then no further commands are run
for that test.
This change also requires all ERROR directives to be specified after the
RUN commands, since they are added to a command in the same way as ARGS.
|
|
|
|
| |
It's currently identical to wasm2wat, without the part to write out a
.wat file.
|
|
|
| |
See issue #543.
|
|
|
|
|
|
|
| |
Since SourceErrorHandler can support binary locations, it doesn't make
much sense to have two different error handlers. There is now only an
ErrorHandler base class, and the first argument specifies whether the
error handler is expecting text or binary locations.
|
| |
|
|
* Change assertions in apply-names to failures
* Fix off-by-one bug in binary-reader-ast get_label_at
* Keep track of last known section code, so the same section cannot be
specified twice, with a custom section between.
|