diff options
author | Ben Smith <binji@chromium.org> | 2016-04-25 06:54:13 -0700 |
---|---|---|
committer | Ben Smith <binji@chromium.org> | 2016-04-28 23:46:17 -0700 |
commit | 4b65b16cba2eb3aa173848377079c0523c9c896f (patch) | |
tree | 6f47b542fa9156a1b21d3dc5e688c7dd90aed98e /test/dump/func-multi.txt | |
parent | ee599aecbbc6d1d61bfb7485ba40c404937c4727 (diff) | |
download | wabt-4b65b16cba2eb3aa173848377079c0523c9c896f.tar.gz wabt-4b65b16cba2eb3aa173848377079c0523c9c896f.tar.bz2 wabt-4b65b16cba2eb3aa173848377079c0523c9c896f.zip |
update dump tests
Diffstat (limited to 'test/dump/func-multi.txt')
-rw-r--r-- | test/dump/func-multi.txt | 78 |
1 files changed, 38 insertions, 40 deletions
diff --git a/test/dump/func-multi.txt b/test/dump/func-multi.txt index 4f442376..c4731ca8 100644 --- a/test/dump/func-multi.txt +++ b/test/dump/func-multi.txt @@ -5,48 +5,46 @@ (func)) (;; STDOUT ;;; 0000000: 0061 736d ; WASM_BINARY_MAGIC -0000004: 0a00 0000 ; WASM_BINARY_VERSION -; section "signatures" -0000008: 00 ; section size (guess) -0000009: 0a ; string length -000000a: 7369 676e 6174 7572 6573 ; section id: "signatures" -0000014: 01 ; num signatures -; signature 0 -0000015: 00 ; num params -0000016: 00 ; result_type -0000008: 0e ; FIXUP section size -; section "function_signatures" -0000017: 00 ; section size (guess) -0000018: 13 ; string length -0000019: 6675 6e63 7469 6f6e 5f73 6967 6e61 7475 -0000029: 7265 73 ; section id: "function_signatures" -000002c: 03 ; num functions -000002d: 00 ; function 0 signature index -000002e: 00 ; function 1 signature index -000002f: 00 ; function 2 signature index -0000017: 18 ; FIXUP section size -; section "function_bodies" -0000030: 00 ; section size (guess) -0000031: 0f ; string length -0000032: 6675 6e63 7469 6f6e 5f62 6f64 6965 73 ; section id: "function_bodies" -0000041: 03 ; num functions +0000004: 0b00 0000 ; WASM_BINARY_VERSION +; section "type" +0000008: 04 ; string length +0000009: 7479 7065 ; section id: "type" +000000d: 00 ; section size (guess) +000000e: 01 ; num types +; type 0 +000000f: 40 ; function form +0000010: 00 ; num params +0000011: 00 ; num results +000000d: 04 ; FIXUP section size +; section "function" +0000012: 08 ; string length +0000013: 6675 6e63 7469 6f6e ; section id: "function" +000001b: 00 ; section size (guess) +000001c: 03 ; num functions +000001d: 00 ; function 0 signature index +000001e: 00 ; function 1 signature index +000001f: 00 ; function 2 signature index +000001b: 04 ; FIXUP section size +; section "code" +0000020: 04 ; string length +0000021: 636f 6465 ; section id: "code" +0000025: 00 ; section size (guess) +0000026: 03 ; num functions ; function body 0 -0000042: 00 ; func body size (guess) -0000043: 00 ; local decl count -0000042: 01 ; FIXUP func body size +0000027: 00 ; func body size (guess) +0000028: 00 ; local decl count +0000027: 01 ; FIXUP func body size ; function body 1 -0000044: 00 ; func body size (guess) -0000045: 00 ; local decl count -0000044: 01 ; FIXUP func body size +0000029: 00 ; func body size (guess) +000002a: 00 ; local decl count +0000029: 01 ; FIXUP func body size ; function body 2 -0000046: 00 ; func body size (guess) -0000047: 00 ; local decl count -0000046: 01 ; FIXUP func body size -0000030: 17 ; FIXUP section size +000002b: 00 ; func body size (guess) +000002c: 00 ; local decl count +000002b: 01 ; FIXUP func body size +0000025: 07 ; FIXUP section size ;; dump -0000000: 0061 736d 0a00 0000 0e0a 7369 676e 6174 -0000010: 7572 6573 0100 0018 1366 756e 6374 696f -0000020: 6e5f 7369 676e 6174 7572 6573 0300 0000 -0000030: 170f 6675 6e63 7469 6f6e 5f62 6f64 6965 -0000040: 7303 0100 0100 0100 +0000000: 0061 736d 0b00 0000 0474 7970 6504 0140 +0000010: 0000 0866 756e 6374 696f 6e04 0300 0000 +0000020: 0463 6f64 6507 0301 0001 0001 00 ;;; STDOUT ;;) |