# stage1: deal with BPF not supporting @returnAddress\(\) · gitcafe/zig

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

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

Visibility: public

Requested revision: 5c7f2ab011f9c1cd522ab76a674d0acc5f397041

Requested commit: 5c7f2ab011f9c1cd522ab76a674d0acc5f397041

Commit: 5c7f2ab011f9c1cd522ab76a674d0acc5f397041

Tree: a1f974af9f30bc09f32f82e189b58f6f73653c14

Author: Kenta Iwasaki

Committer: Andrew Kelley

## Message

```
stage1: deal with BPF not supporting @returnAddress()

Make `@returnAddress()` return for the BPF target, as the BPF target for
the time being does not support probing for the return address. Stack
traces for the general purpose allocator for the BPF target is also set
to not be captured.

```

## Parents

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

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