# LLVM: be sure to never pass align\(0\) attribute · gitcafe/zig

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

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

Visibility: public

Requested revision: d3542be875704bffc931970948345d1a44e25b8e

Requested commit: d3542be875704bffc931970948345d1a44e25b8e

Commit: d3542be875704bffc931970948345d1a44e25b8e

Tree: 1e1789e2571c4ce2a7db2ce1a5a946d4579a77db

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
LLVM: be sure to never pass align(0) attribute

This can happen with pointers to zero-bit types.

This commit fixes an LLVM assertion being tripped.

```

## Parents

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

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