| author | |
| committer | |
| log | f7d4f72fd5e3e3026e395f43c5b2b2c3cb49fce2 |
| tree | e1f18236a4a9d451374a2b47773503e1445050b1 |
| parent | 6f7a9b31443debf3e6d2be645261372de1bc5877 |
| signature |
1 files changed, 3 insertions(+), 0 deletions(-)
src/link/Wasm.zig+3| ... | ... | @@ -4293,6 +4293,9 @@ fn emitNameSection(wasm: *Wasm, binary_bytes: *std.ArrayList(u8), arena: std.mem |
| 4293 | 4293 | |
| 4294 | 4294 | for (wasm.resolved_symbols.keys()) |sym_loc| { |
| 4295 | 4295 | const symbol = sym_loc.getSymbol(wasm).*; |
| 4296 | if (symbol.isDead()) { | |
| 4297 | continue; | |
| 4298 | } | |
| 4296 | 4299 | const name = sym_loc.getName(wasm); |
| 4297 | 4300 | switch (symbol.tag) { |
| 4298 | 4301 | .function => { |