summaryrefslogtreecommitdiff
path: root/test/dump/br-loop-inner-expr.txt
Commit message (Collapse)AuthorAgeFilesLines
* Use stderr for all logging and error output (#1579)Sam Clegg2020-12-031-1/+3
| | | | I'm not sure why we were using stdout but the convention is normally to write all logging and error message to stderr.
* Update output from type to func type in binary writer and reader (#1570)Radu M2020-11-161-1/+1
| | | Signed-off-by: Radu M <root@radu.sh>
* Pass function body size in BinaryReader callback (#975)Ben Smith2018-12-121-1/+1
| | | This is useful for finding large functions with wasm-objdump.
* Remove `run-objdump.py`; replace with `RUN` cmds (#732)Ben Smith2018-01-241-1/+1
| | | | | | | | | | | | | | | | * Remove `run-objdump.py`; replace with `RUN` cmds This CL introduces two new TOOLs for tests: * `run-objdump-gen-wasm`: Run objdump on wasm files generated by `gen-wasm.py`. * `run-objdump-spec`: Run objdump on wasm files generated by `wast2json`. For now, this requires each test to specify the files manually: `%(temp_file)s.0.wasm %(temp_file)s.1.wasm` etc. `gen_wasm_py` has been added as a new RUN variable as well. * Call FixPythonExecutable after expanding variables
* Rename run args (#728)Ben Smith2018-01-211-1/+1
| | | | As suggested in https://github.com/WebAssembly/wabt/pull/725#discussion_r162516714.
* Update testsuite; various lexing/parsing fixes (#482)Ben Smith2017-06-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Update testsuite; various lexing/parsing fixes Lexer changes: * Switch re2c parser to UTF-8 parser. This can almost be done "for free" with a flag, but required a bit of work to allow us to catch malformed UTF-8 as well. * Change the re2c fill value to 0xff, since it's never a valid UTF-8 byte. * Allow for more reserved tokens (basically any ascii aside from parentheses, double-quote, and semi-colon) * Remove "infinity" from lexer, only "inf" is allowed now. * Change definition of EOF token, it was implemented incorrectly. The correct way to handle it is to only return it from FILL when there is no more data to fill. * \r is a valid escape. Parser changes: * Changes to match the spec parser: - block signatures use (result <type>) syntax - func/global/table/memory can have multiple inline exports - inline imports are handled in func definition instead of import definition - allow for inline modules (i.e. no "(module ...)" s-expr required) * Remove FuncField. This was previously used for parsing params/results/locals, but it's less code to just parse right-recursive (i.e. backward) and insert everything at the front. This requires reversing the indexes in the BindingHash too. * Remove the nasty macros `APPEND_FIELD_TO_LIST`, `APPEND_ITEM_TO_VECTOR`, `APPEND_INLINE_EXPORT`, and `CHECK_IMPORT_ORDERING`. This behavior is all handled by `append_module_fields` now. * All inline imports/exports are handled by returning additional ModuleFields in a list. This removes the need for `OptionalExport`, `ExportedFunc`, `ExportedGlobal`, `ExportedTable`, and `ExportedMemory`. * Use "_opt" suffix instead of "non_empty_" prefix, e.g.: - text_list => text_list_opt, non_empty_text_list => text_list * The locations changed for some symbols, typically the use the name following the LPAR now, e.g. (import ^^^^^^ * Add PPA for re2c 0.16 * add -y to skip confirmation on travis
* Rename wasmdump to wasm-objdump (#455)Sam Clegg2017-05-251-1/+1
| | | | This is more consistent with how llvm and binutils name such tools.
* Fix disassembly of 64-bit values in wasmdump (#446)Ben Smith2017-05-221-4/+4
| | | | | | Also change formatting of uint32_t operands (`i32.const`, `grow_memory`, `current_memory`) to `%u`. Fixes #445.
* [wasmdump] Display function names at call sites in disassembly (#441)Sam Clegg2017-05-191-2/+2
| | | | Also print Index types as decimal rather than hex since this seems to be the convention elsewhere.
* Regenerate expected test output (#423)Sam Clegg2017-05-101-0/+1
| | | | | The expected test output was out of sync becasue whitespace at the start and end of stdout doesn't cause test failures (because stdout/stderr are stripped before comparison).
* Use 8 hex digits for wasm version rather than 6. (#391)pipcet2017-04-051-1/+1
|
* Add callback for end opcode and end of function (#358)Sam Clegg2017-03-161-0/+1
| | | | | Without this objdump doesn't show the final byte/opcode of each function.
* Make most enumerations into enum classes (#329)Ben Smith2017-03-011-3/+3
|
* Update wasm binary format label to 1 (#310)Derek Schuff2017-02-241-2/+2
| | | | | | | | | | | | * Update wasm binary format label to 1 Rebaseline tests, but no other changes. * Revert test/spec/globals.txt * Update testsuite * Update spec binary.wast test and testsuite repo
* Add function names and relocations to wasmdump disassembly (#285)Sam Clegg2017-01-231-1/+2
|
* wasmdump improvments (#192)Sam Clegg2016-10-311-0/+3
| | | | | | | | * wasmdump improvments - Split into three different passes: headers, details, and raw - Nest imports correctly - Show element count as part of section header rather than on its own line
* Fix types for binary 0xdBen Smith2016-10-261-11/+11
| | | | | | | * All types are unified (i32,i64,f32,f64,func,anyfunc,void) * Can't use array to get type name; use `wasm_get_type_name` instead * Encode types as vs7 (i.e. Signed LEB128 with max length 1 byte) * Change version to 0xd
* Remap the operator encoding for binary 0xdBen Smith2016-10-261-29/+29
|
* Update tests syntax to new flat syntax (#169)Kwadwo 'Que' Amankwa2016-10-181-6/+14
| | | | converted more dump tests to new syntax
* Add wasmdump binary for inspecting wasm files (#161)Sam Clegg2016-10-121-6/+17
| | | | | | * Add wasmdump binary for inspecting wasm files Run this tool to as part of the 'dump' tests rather than using the -d flag to wast2wasm.
* Remove trailing whitespace from hexdumps (#154)Sam Clegg2016-10-071-51/+51
|
* Refactor all uses of s_opcode_ to use functionsBen Smith2016-10-061-15/+15
|
* append END opcode at end of functionBen Smith2016-09-301-3/+5
| | | | This fixes #132.
* Update 'dump' tests for binary_0xcSam Clegg2016-09-291-54/+52
|
* fix dump tests, update binary version to 0xcBen Smith2016-09-291-26/+28
|
* arities for call, break and returnBen Smith2016-04-281-11/+12
|
* update dump testsBen Smith2016-04-281-50/+51
|
* remove end sectionBen Smith2016-03-111-6/+1
|
* optimize out unnecessary blocksBen Smith2016-03-101-25/+21
| | | | | | If a block is never referenced, and only has one expression, it can be removed. This is useful for the if arms, as the spec repo requires them, but the binary format doesn't introduce a new block.
* sections have size and name as stringBen Smith2016-03-091-37/+57
|
* update v8, use function sig and body sectionsBen Smith2016-03-091-32/+33
| | | | v8 also has support for the names section, but I'll add that later.
* rebase master; remove need for local decl fixupBen Smith2016-03-071-1/+0
|
* Rebase the dumps on local decls changes.Ben L. Titzer2016-03-071-25/+27
|
* store i32.const and i64.const as signed-LEB128Ben Smith2016-03-041-10/+10
|
* use if/then/else instead of if/if_elseBen Smith2016-03-031-16/+20
| | | | Also update testsuite
* binary format has magic and version numberBen Smith2016-02-281-30/+33
|
* move shared binary format stuff to wasm-binary.hBen Smith2016-02-241-3/+3
|
* remove break keyword, rename to brBen Smith2015-12-171-0/+44