# LLVM: broaden aarch64-windows f16 debug variable workaround · gitcafe/zig

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

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

Visibility: public

Requested revision: 0d164f9a25f05a2917f4e1d4eb21c85b3279b47b

Requested commit: 0d164f9a25f05a2917f4e1d4eb21c85b3279b47b

Commit: 0d164f9a25f05a2917f4e1d4eb21c85b3279b47b

Tree: db2bec37d9668490c09c892e9cef2d9901d82440

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
LLVM: broaden aarch64-windows f16 debug variable workaround

LLVM does not properly handle debug info for f16 on the aarch64-windows
target, causing "fatal error: unknown codeview register H1". The
previous workaround checked only for f16 but was still vulnerable if a
type was a byval struct or tuple which had an f16 field in it.

Now I have filed an upstream issue (see
https://github.com/llvm/llvm-project/issues/56484) and broadened the
workaround to always skip debug values for this target.

```

## Parents

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

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