diff options
| author | Luuk de Gram <luuk@degram.dev> | 2022-02-17 21:12:20 +0100 |
|---|---|---|
| committer | Luuk de Gram <luuk@degram.dev> | 2022-02-23 16:07:36 +0100 |
| commit | f7f3678b485fff790af278ff5436e0b63db998f8 (patch) | |
| tree | 3743647e0f716c6fd7f9239fc5e99c78ba2acb97 /src/Module.zig | |
| parent | 91a88a789ffa80ebb57c77ae0fe37594276e3707 (diff) | |
| download | zig-f7f3678b485fff790af278ff5436e0b63db998f8.tar.gz zig-f7f3678b485fff790af278ff5436e0b63db998f8.zip | |
wasm-linker: Emit symbol table for object file
When creating a relocatable object file, emit the symbol table.
We do this by iterating over all atoms, and finding the corresponding
symbols of those. This provides us all the meta information such as size, and offset as well.
This data is required for defined data symbols.
When we emit an object file, the "Names" section does not have to be emitted, as all symbol names
are already in the symbol table, so the names section is redundant.
Diffstat (limited to 'src/Module.zig')
0 files changed, 0 insertions, 0 deletions
