# LLVM: fix ABI size of optional and error union types · gitcafe/zig

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

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

Visibility: public

Requested revision: 040cb585e88583cba8a15f30eea07bfd2f135515

Requested commit: 040cb585e88583cba8a15f30eea07bfd2f135515

Commit: 040cb585e88583cba8a15f30eea07bfd2f135515

Tree: 1a7be73e85d8a92d09f148924b219cac1d59f55d

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
LLVM: fix ABI size of optional and error union types

Previously, the Zig ABI size and LLVM ABI size of these types disagreed
sometimes. This code also corrects the logging messages to not trigger
LLVM assertions.

```

## Parents

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

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