aboutsummaryrefslogtreecommitdiff
path: root/src/type.zig
diff options
context:
space:
mode:
authorLuuk de Gram <luuk@degram.dev>2023-03-18 16:02:30 +0100
committerLuuk de Gram <luuk@degram.dev>2023-03-18 20:13:30 +0100
commit4e0d7154b1a701b906f3d9c5401dc0109253971f (patch)
tree36a7c5fa940450ad36698121a8723f7733cc59ea /src/type.zig
parent09d6938df9246bac20e84f5512743e96bccdfa3d (diff)
downloadzig-4e0d7154b1a701b906f3d9c5401dc0109253971f.tar.gz
zig-4e0d7154b1a701b906f3d9c5401dc0109253971f.zip
wasm-linker: implement __wasm_init_memory & flag
Implements the __wasm_init_memory and __wasm_init_memory_flag synthetic function and symbol. The former will initialize all passive segments during runtime. For the bss section we will fill it with zeroes, whereas the other segments will simply be initialized only. The latter stores the offset into the linear data section, after all heap memory that is part of the Wasm module. Any memory initialized at runtime starts from this offset.
Diffstat (limited to 'src/type.zig')
0 files changed, 0 insertions, 0 deletions