# LLVM: use \`@llvm.used\` instead of \`@llvm.compiler.used\` · gitcafe/zig

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

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

Visibility: public

Requested revision: c81219c573f75a2163dfaae5bae7d7373e179f91

Requested commit: c81219c573f75a2163dfaae5bae7d7373e179f91

Commit: c81219c573f75a2163dfaae5bae7d7373e179f91

Tree: 88e004412876297b8b4842c618f5d7270091e59e

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
LLVM: use `@llvm.used` instead of `@llvm.compiler.used`

because it marks the linker section, preventing garbage collection.

Also, name the members because that is required by this intrinsic.

Also, enable the StackDepth option in the sancov pass as a workaround
for https://github.com/llvm/llvm-project/pull/106464, otherwise, LLVM
enables TracePCGuard even though we explicitly disable it.

```

## Parents

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

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