# codegen: Use the new frame-pointer fn attributes · gitcafe/zig

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

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

Visibility: public

Requested revision: 8d6536b50cfd43c07c6f0264171db6ecf8e80be5

Requested commit: 8d6536b50cfd43c07c6f0264171db6ecf8e80be5

Commit: 8d6536b50cfd43c07c6f0264171db6ecf8e80be5

Tree: f29a4c35f5ac8077ed8a741e55ecc0da9ce31bd3

Author: LemonBoy

Committer: LemonBoy

## Message

```
codegen: Use the new frame-pointer fn attributes

no-frame-pointer-elim and no-frame-pointer-elim-non-leaf have been
deprecated for a while in favour of the newer (and clearer)
frame-pointer attribute.

Starting with LLVM10 the old attributes are silently ignored, leading to
no stack traces in debug mode.

```

## Parents

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

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