# llvm: emit metadata for exported global variables \(\#15349\) · gitcafe/zig

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

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

Visibility: public

Requested revision: 31b6d14bf76fa6b78013a6a32d3066e882d64043

Requested commit: 31b6d14bf76fa6b78013a6a32d3066e882d64043

Commit: 31b6d14bf76fa6b78013a6a32d3066e882d64043

Tree: 7a31da91ca6515f1fbb2bcea8023e6b4c9aea63a

Author: Tw

Committer: GitHub

## Message

```
llvm: emit metadata for exported global variables (#15349)

* llvm: emit metadata for global variable

One use case is to genearte BTF information from global variable's metadata.

Signed-off-by: Tw <weii.tan>
```

## Parents

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

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