diff options
author | Sam Clegg <sbc@chromium.org> | 2021-10-18 13:32:29 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-18 20:32:29 +0000 |
commit | 9bebe6aae5a5e2b96c71a4d6da48cb46547d4c4d (patch) | |
tree | 763681880e1c2f93fe16e84e3f705e2f11064a74 /test/dump/memory64.txt | |
parent | cd6639980cebed23d07bce4973284cf980f70721 (diff) | |
download | wabt-9bebe6aae5a5e2b96c71a4d6da48cb46547d4c4d.tar.gz wabt-9bebe6aae5a5e2b96c71a4d6da48cb46547d4c4d.tar.bz2 wabt-9bebe6aae5a5e2b96c71a4d6da48cb46547d4c4d.zip |
Fix for wasm-objdump and memory64 segment offsets (#1743)
Diffstat (limited to 'test/dump/memory64.txt')
-rw-r--r-- | test/dump/memory64.txt | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/test/dump/memory64.txt b/test/dump/memory64.txt new file mode 100644 index 00000000..15a6b689 --- /dev/null +++ b/test/dump/memory64.txt @@ -0,0 +1,27 @@ +;;; TOOL: run-objdump +;;; ARGS: -h -x + +(module + (memory i64 1) + (data (i64.const 1) "a") +) +(;; STDOUT ;;; + +memory64.wasm: file format wasm 0x1 + +Sections: + + Memory start=0x0000000a end=0x0000000d (size=0x00000003) count: 1 + Data start=0x0000000f end=0x00000016 (size=0x00000007) count: 1 + +Section Details: + +Memory[1]: + - memory[0] pages: initial=1 i64 +Data[1]: + - segment[0] memory=0 size=1 - init i64=1 + - 0000001: 61 a + +Code Disassembly: + +;;; STDOUT ;;) |