# llvm: add pass-by-reference info to debug types · gitcafe/zig

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

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

Visibility: public

Requested revision: 94cf4d2d8193efb0ae642d475fb8437eb4c7e8c1

Requested commit: 94cf4d2d8193efb0ae642d475fb8437eb4c7e8c1

Commit: 94cf4d2d8193efb0ae642d475fb8437eb4c7e8c1

Tree: 7e1f334cbf1941e1a9f2452bf42679cd467da9bb

Author: Tau

Committer: Tau

## Message

```
llvm: add pass-by-reference info to debug types

Without this data, debugger expressions try to pass structs by-value,
which mostly just crashes.
Also: mark enums as enum classes to prevent the enumerators from
shadowing other identifiers.

```

## Parents

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

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