# llvm: cast optional null ptr representation to generic address space · gitcafe/zig

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

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

Visibility: public

Requested revision: 13c0624f23bbf63b31ae9b8f06aa2e32c1616e94

Requested commit: 13c0624f23bbf63b31ae9b8f06aa2e32c1616e94

Commit: 13c0624f23bbf63b31ae9b8f06aa2e32c1616e94

Tree: 04cc6726a336dacf422a2488d7a3047091a14ce5

Author: Robin Voetter

Committer: Robin Voetter

## Message

```
llvm: cast optional null ptr representation to generic address space

The panic handler expects that this value is represented with the
generic address space, so cast the global to the generic address-
space before caching and returning the value.

```

## Parents

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

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