# wasm-linker: mark symbols and its references · gitcafe/zig

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

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

Visibility: public

Requested revision: 589aef153709a3c1e0b1ee8af4bb4d710d46b792

Requested commit: 589aef153709a3c1e0b1ee8af4bb4d710d46b792

Commit: 589aef153709a3c1e0b1ee8af4bb4d710d46b792

Tree: 17c85a238f5bf9584d9b8975333f792bcfec72c8

Author: Luuk de Gram

Committer: Luuk de Gram

## Message

```
wasm-linker: mark symbols and its references

Symbols which are exported to the host, or contain the `NO_STRIP`
flag, will be marked. All symbols which are referenced by this symbol
are marked likewise. We achieve this by parsing all relocations of a
symbol, and then marking the symbol it points to within the relocation.

```

## Parents

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

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