Debian Codegraph @

tests/snapshots/cli/component-model-error-context/error-context.wast/2.print

raw
1 (component
2 (core module $libc (;0;)
3 (type (;0;) (func (param i32 i32 i32 i32) (result i32)))
4 (memory (;0;) 1)
5 (export "realloc" (func 0))
6 (export "memory" (memory 0))
7 (func (;0;) (type 0) (param i32 i32 i32 i32) (result i32)
8 unreachable
9 )
10 )
11 (core instance $libc (;0;) (instantiate $libc))
12 (core module $m (;1;)
13 (type (;0;) (func (param i32 i32)))
14 (import "" "error-context.debug-message" (func $error-context-debug-message (;0;) (type 0)))
15 )
16 (alias core export $libc "memory" (core memory (;0;)))
17 (alias core export $libc "realloc" (core func (;0;)))
18 (core func $error-context-debug-message (;1;) (canon error-context.debug-message (memory 0) (realloc 0)))
19 (core instance (;1;)
20 (export "error-context.debug-message" (func $error-context-debug-message))
21 )
22 (core instance $i (;2;) (instantiate $m
23 (with "" (instance 1))
24 )
25 )
26 )