aboutsummaryrefslogtreecommitdiff
path: root/src/Compilation.zig
diff options
context:
space:
mode:
authorLuuk de Gram <luuk@degram.dev>2021-11-26 20:07:34 +0100
committerLuuk de Gram <luuk@degram.dev>2021-11-27 15:11:03 +0100
commit6e88df44a29e0c30c341f113cf4771e08fc1f0fe (patch)
tree93f5cab9205d166060d39fda5c38544d093f4bd1 /src/Compilation.zig
parenta54ac0888542d027b09e5c43729a7cfbe4a51393 (diff)
downloadzig-6e88df44a29e0c30c341f113cf4771e08fc1f0fe.tar.gz
zig-6e88df44a29e0c30c341f113cf4771e08fc1f0fe.zip
wasm-linker: Link into binary during flush
This contains a few additions: - Proper stack pointer calculation keeping alignment in mind. - Setting up memory layout (including user flags). - Export or import memory - Handle 'easy' linker tasks during incremental compilation, while offloading heavy-tracking/computation tasks to `flush()` - This architecture allows us to easily integrate with the rest of 'zwld' to implement linking stage2 code with external object files.
Diffstat (limited to 'src/Compilation.zig')
0 files changed, 0 insertions, 0 deletions