aboutsummaryrefslogtreecommitdiff
path: root/src/link/tapi
diff options
context:
space:
mode:
authorLuuk de Gram <luuk@degram.dev>2022-12-16 18:31:24 +0100
committerLuuk de Gram <luuk@degram.dev>2022-12-16 18:31:24 +0100
commit476202eec03a2196daab7f9998c556796cc42eca (patch)
tree9a637647a15920ea59a6e07ea49494f96b33eeb0 /src/link/tapi
parentae106db8897ce3afd38dbfc1c2c811cd2f2de357 (diff)
downloadzig-476202eec03a2196daab7f9998c556796cc42eca.tar.gz
zig-476202eec03a2196daab7f9998c556796cc42eca.zip
wasm-linker: Fix archive symbols parsing
When parsing the table of contents containing the symbols and their positions we initially used the index within the map to retrieve the offset. However, during resizing of the underlaying array this would invalidate those indexes which meant incorrect offsets were being stored for symbols. We now use the current symbol index to also get the index into the symbol position instead.
Diffstat (limited to 'src/link/tapi')
0 files changed, 0 insertions, 0 deletions