# llvm: encode variables as DW_TAG_imported_declaration · gitcafe/zig

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

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

Visibility: public

Requested revision: 359bbdd5748779a4e1b12706e0be704cfacb5078

Requested commit: 359bbdd5748779a4e1b12706e0be704cfacb5078

Commit: 359bbdd5748779a4e1b12706e0be704cfacb5078

Tree: e68f19e9bec8e2771d6442aad19764848c0f80ee

Author: Tau

Committer: Tau

## Message

```
llvm: encode variables as DW_TAG_imported_declaration

Now we get working global variable lookup in GDB! LLDB still re-mangles,
and it looks like we can't do much about that for now.

Also: translate non-owning type declarations into typedefs.

```

## Parents

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

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