summaryrefslogtreecommitdiff
path: root/test/dump/throw.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/dump/throw.txt')
-rw-r--r--test/dump/throw.txt31
1 files changed, 19 insertions, 12 deletions
diff --git a/test/dump/throw.txt b/test/dump/throw.txt
index 42a8d2c9..d0118709 100644
--- a/test/dump/throw.txt
+++ b/test/dump/throw.txt
@@ -36,20 +36,27 @@
0000019: 00 ; event attribute
000001a: 00 ; event signature index
0000017: 03 ; FIXUP section size
-; section "Code" (10)
-000001b: 0a ; section code
+; section "DataCount" (12)
+000001b: 0c ; section code
000001c: 00 ; section size (guess)
-000001d: 01 ; num functions
+000001d: 00 ; data count
+000001c: 01 ; FIXUP section size
+; section "Code" (10)
+000001e: 0a ; section code
+000001f: 00 ; section size (guess)
+0000020: 01 ; num functions
; function body 0
-000001e: 00 ; func body size (guess)
-000001f: 00 ; local decl count
-0000020: 41 ; i32.const
-0000021: 01 ; i32 literal
-0000022: 08 ; throw
-0000023: 00 ; throw event
-0000024: 0b ; end
-000001e: 06 ; FIXUP func body size
-000001c: 08 ; FIXUP section size
+0000021: 00 ; func body size (guess)
+0000022: 00 ; local decl count
+0000023: 41 ; i32.const
+0000024: 01 ; i32 literal
+0000025: 08 ; throw
+0000026: 00 ; throw event
+0000027: 0b ; end
+0000021: 06 ; FIXUP func body size
+000001f: 08 ; FIXUP section size
+; move data: [1e, 28) -> [1b, 25)
+; truncate to 37 (0x25)
throw.wasm: file format wasm 0x1