# \.debug_line incremental compilation initial support · gitcafe/zig

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

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

Visibility: public

Requested revision: 1a3f250f195d4ed5455795d4fa6e4b0cf97cb6ce

Requested commit: 1a3f250f195d4ed5455795d4fa6e4b0cf97cb6ce

Commit: 1a3f250f195d4ed5455795d4fa6e4b0cf97cb6ce

Tree: c478f030e5c8d7d1829a90b545a8306a9ff9f47c

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
.debug_line incremental compilation initial support

Supports writing the first function. Still TODO is:
 * handling the .debug_line header growing too large
 * adding a new file to an existing compilation
 * adding an additional function to an existing file
 * handling incremental updates
 * adding the main IR debug ops for IR instructions

There are also issues to work out:
 * readelf --debug-dump=rawline is saying there is no .debug_str section
   even though there is
 * readelf --debug-dump=decodedline is saying the file index 0 is bad
   and reporting some other kind of corruption.

```

## Parents

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

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