summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/binary/user-section.txt12
-rw-r--r--test/dump/debug-import-names.txt6
-rw-r--r--test/dump/debug-names.txt6
3 files changed, 12 insertions, 12 deletions
diff --git a/test/binary/user-section.txt b/test/binary/user-section.txt
index ce0d1185..e8351d2f 100644
--- a/test/binary/user-section.txt
+++ b/test/binary/user-section.txt
@@ -8,16 +8,16 @@ section("bar") { count[5] }
section("foo") { count[6] }
(;; STDOUT ;;;
begin_module(13)
-begin_user_section: 'foo' size=5
-end_user_section
+begin_custom_section: 'foo' size=5
+end_custom_section
begin_signature_section
on_signature_count(1)
on_signature(index: 0, params: [], results: [i32])
end_signature_section
-begin_user_section: 'bar' size=5
-end_user_section
-begin_user_section: 'foo' size=5
-end_user_section
+begin_custom_section: 'bar' size=5
+end_custom_section
+begin_custom_section: 'foo' size=5
+end_custom_section
end_module
(module
(type (;0;) (func (result i32))))
diff --git a/test/dump/debug-import-names.txt b/test/dump/debug-import-names.txt
index af0aead7..87ba712b 100644
--- a/test/dump/debug-import-names.txt
+++ b/test/dump/debug-import-names.txt
@@ -27,10 +27,10 @@
000001a: 00 ; import signature index
000000f: 0b ; FIXUP section size
; section "name"
-000001b: 00 ; user section code
+000001b: 00 ; custom section code
000001c: 00 ; section size (guess)
000001d: 04 ; string length
-000001e: 6e61 6d65 name ; user section name
+000001e: 6e61 6d65 name ; custom section name
0000022: 01 ; num functions
0000023: 04 ; string length
0000024: 2466 6f6f $foo ; func name 0
@@ -41,7 +41,7 @@ debug-import-names.wasm: file format wasm 0x00000d
Sections:
TYPE start=0x0000000a end=0x0000000e (size=0x00000004) count: 1
IMPORT start=0x00000010 end=0x0000001b (size=0x0000000b) count: 1
- USER start=0x00000022 end=0x0000002e (size=0x0000000c) "name"
+ CUSTOM start=0x00000022 end=0x0000002e (size=0x0000000c) "name"
Code Disassembly:
;;; STDOUT ;;)
diff --git a/test/dump/debug-names.txt b/test/dump/debug-names.txt
index fd860550..053c24b7 100644
--- a/test/dump/debug-names.txt
+++ b/test/dump/debug-names.txt
@@ -59,10 +59,10 @@
0000022: 06 ; FIXUP func body size
0000019: 0f ; FIXUP section size
; section "name"
-0000029: 00 ; user section code
+0000029: 00 ; custom section code
000002a: 00 ; section size (guess)
000002b: 04 ; string length
-000002c: 6e61 6d65 name ; user section name
+000002c: 6e61 6d65 name ; custom section name
0000030: 02 ; num functions
0000031: 03 ; string length
0000032: 2446 31 $F1 ; func name 0
@@ -97,7 +97,7 @@ FUNCTION:
CODE:
- func 0
- func 1
-USER:
+CUSTOM:
- name: "name"
- func[0] $F1
- local[0] $F1P0