# tests: enable stack trace tests for x86_64-selfhosted · gitcafe/zig

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

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

Visibility: public

Requested revision: 7774287fdca1b56e12a420c446e83191c05fb468

Requested commit: 7774287fdca1b56e12a420c446e83191c05fb468

Commit: 7774287fdca1b56e12a420c446e83191c05fb468

Tree: 43f98e437925d644bfa61938ea2d1a1687381ea6

Author: mlugg

Committer: mlugg

## Message

```
tests: enable stack trace tests for x86_64-selfhosted

Allows the stack trace tests to be additionally compiled and run with
`.use_llvm = false, .use_lld = false` depending on the host target. This
is currently enabled for x86_64 targets emitting ELF.

Self-hosted backends emit slightly different DWARF info to the LLVM
backend, so the checking logic (and the tests themselves) had to be
tweaked slightly to support both backends at once.

```

## Parents

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

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