# wasm: Debug info for lines \+ pro/epilogue · gitcafe/zig

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

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

Visibility: public

Requested revision: f76027220042d965278184088f1f04b6c8430bcb

Requested commit: f76027220042d965278184088f1f04b6c8430bcb

Commit: f76027220042d965278184088f1f04b6c8430bcb

Tree: 93e00b10ed446fafd785df7f111eb9431de8e6d3

Author: Luuk de Gram

Committer: Luuk de Gram

## Message

```
wasm: Debug info for lines + pro/epilogue

Maps lines and columns between wasm bytecode and Zig source code.
While this supports prologue and epilogue information, we need to add
support for performing relocations as the offsets are relative to the code section,
which means we must relocate it according to the atom offset's offset while keeping function count
in mind as well (due to leb128 encoding).

```

## Parents

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

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