# LLVM Builder: Rework MetadataString to not rely on String · gitcafe/zig

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

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

Visibility: public

Requested revision: e57f553c07cff62871927146e072be43f13432e3

Requested commit: e57f553c07cff62871927146e072be43f13432e3

Commit: e57f553c07cff62871927146e072be43f13432e3

Tree: 8619261c86ef0a929f95619d0a99fde59fad2a84

Author: antlilja

Committer: antlilja

## Message

```
LLVM Builder: Rework MetadataString to not rely on String

This fixes a problem where empty strings where not emitted as null.
This should also emit a smaller stringtab as all metadata strings were
emitted in both the strtab and in the strings block inside the metadata
block.

```

## Parents

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

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