aboutsummaryrefslogtreecommitdiff
path: root/lib/std/array_list.zig
diff options
context:
space:
mode:
authorLuuk de Gram <luuk@degram.dev>2023-03-09 19:14:17 +0100
committerLuuk de Gram <luuk@degram.dev>2023-03-09 19:14:17 +0100
commit87738cad8607a31537a5c16826ab315990bc73c6 (patch)
tree8d0bd79d5f16fb1cb3fd0fb8e909369576ed4948 /lib/std/array_list.zig
parent27701596060c7a8018f9a9add21952a6d7f83d96 (diff)
downloadzig-87738cad8607a31537a5c16826ab315990bc73c6.tar.gz
zig-87738cad8607a31537a5c16826ab315990bc73c6.zip
wasm-linker: store symbol's virtual address
For data symbols we will now store its virtual address. This means we do no longer have to calculate it each time a relocation asks for the address. This is now done for all data symbols only once rather than every single relocation for that symbol. This now also allows us directly store the virtual address of synthetic symbols without having to create an atom for them. This means we also don't need to have a "synthetic" segment any longer and do not emit the synthetic symbols such as __heap_end and __heap_base into the final binary.
Diffstat (limited to 'lib/std/array_list.zig')
0 files changed, 0 insertions, 0 deletions