# wasm-linker: Intern all symbol names · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/b1159ab7aecfe704adcb4cf44d6fedafd572a720)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: b1159ab7aecfe704adcb4cf44d6fedafd572a720

Requested commit: b1159ab7aecfe704adcb4cf44d6fedafd572a720

Commit: b1159ab7aecfe704adcb4cf44d6fedafd572a720

Tree: 7ddafb8b9c72922f22cc6c03987b72e9006df300

Author: Luuk de Gram

Committer: Luuk de Gram

## Message

```
wasm-linker: Intern all symbol names

For all symbols read from object files as well as generated from Zig code
will now be interned and have their offset into the string table saved on the `Symbol` instead.

Besides interning, local symbols now also use a decl's fully qualified name.
When a decl/symbol is extern/to-be-imported, the name of the decl itself will be used for symbol resolving.
Similarly for symbols that will be exported, will have their 'export name' set.

```

## Parents

- [49f01c0a0cd510437f6f2d13d5de3e722f48cc3d](https://git.cafe/gitcafe/zig/commit/49f01c0a0cd510437f6f2d13d5de3e722f48cc3d?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/b1159ab7aecfe704adcb4cf44d6fedafd572a720?format=markdown)
