aboutsummaryrefslogtreecommitdiff
path: root/src/zig_llvm.cpp
diff options
context:
space:
mode:
authorLuuk de Gram <luuk@degram.dev>2022-12-31 16:58:49 +0100
committerLuuk de Gram <luuk@degram.dev>2023-01-02 18:36:17 +0100
commit3ca3fe94f454688f05415cf0a39954a0379b4c84 (patch)
tree42f6c2481c25666992e78bf2e55b0a0d9ac9ae42 /src/zig_llvm.cpp
parente4869eeac11eccdbb6cf4d8a4e60a272ca179d55 (diff)
downloadzig-3ca3fe94f454688f05415cf0a39954a0379b4c84.tar.gz
zig-3ca3fe94f454688f05415cf0a39954a0379b4c84.zip
wasm-linker: improve indirect function table
Rather than checking for function pointers during the writing phase, we now create a synethtic symbol when a new link job has started. This means the symbol can correctly be resolved during link time with the indirect function table from other object files, ensuring we are properly performing relocations and our binary writer is now unaware of any of its logic and simply emits the table according to the symbol such as any other symbols.
Diffstat (limited to 'src/zig_llvm.cpp')
0 files changed, 0 insertions, 0 deletions