# LLVM: add valgrind integration for x86 and aarch64 · gitcafe/zig

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

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

Visibility: public

Requested revision: 78389af55266d58e699a4d982e00afb6cce7ec64

Requested commit: 78389af55266d58e699a4d982e00afb6cce7ec64

Commit: 78389af55266d58e699a4d982e00afb6cce7ec64

Tree: fdb479dc59ff6e65c06d14866be3ac848965201e

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
LLVM: add valgrind integration for x86 and aarch64

This also modifies the inline assembly to be more optimizable - instead of
doing explicit movs, we instead communicate to LLVM which registers we
would like to, somehow, have the correct values. This is how the x86_64
code already worked and thus allows the code to be unified across the
two architectures.

As a bonus, I threw in x86 support.

```

## Parents

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

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