# LLVM: more fine-grained sancov emit options · gitcafe/zig

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

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

Visibility: public

Requested revision: 33d47424562672834ff758770b7ce89c637d4a1d

Requested commit: 33d47424562672834ff758770b7ce89c637d4a1d

Commit: 33d47424562672834ff758770b7ce89c637d4a1d

Tree: 56808bda9fe5aea195facd3d415edfdf4ec56c07

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
LLVM: more fine-grained sancov emit options

Exposes sanitizer coverage flags to the target machine emit function.
Makes it easier to change sancov options without rebuilding the C++
files.

This also enables PCTable = true for sancov which is needed by AFL, and
adds the corresponding Clang flag.

```

## Parents

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

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