# stage2 ARM: save function arguments to stack for debugging · gitcafe/zig

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

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

Visibility: public

Requested revision: 446ebddb937ccc8bea7060b74268e90702656fde

Requested commit: 446ebddb937ccc8bea7060b74268e90702656fde

Commit: 446ebddb937ccc8bea7060b74268e90702656fde

Tree: c72023040b9f179de969847b435b424bce4a3365

Author: joachimschmidt557

Committer: Andrew Kelley

## Message

```
stage2 ARM: save function arguments to stack for debugging

This changes genArg to copy registers to the stack for better
debugging. Thus, it requires genSetStack to be implemented in order for
genArg to work.

```

## Parents

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

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