# default "trace pc guard" coverage off · gitcafe/zig

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

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

Visibility: public

Requested revision: 26d2a7960e9199989d9387e0af29497581422f93

Requested commit: 26d2a7960e9199989d9387e0af29497581422f93

Commit: 26d2a7960e9199989d9387e0af29497581422f93

Tree: 232000f18467d891a23c70b8e2b3ca48e9d62c8c

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
default "trace pc guard" coverage off

* Add -f(no-)sanitize-coverage-trace-pc-guard CLI flag which defaults to
  off. This value lowers to TracePCGuard = true (LLVM backend) and -Xclang
  -fsanitize-coverage-trace-pc-guard. These settings are not
  automatically included with -ffuzz.
* Add `Build.Step.Compile` flag for sanitize_coverage_trace_pc_guard
  with appropriate documentation.
* Add `zig cc` integration for the respective flags.
* Avoid crashing in ELF linker code when -ffuzz -femit-llvm-ir used
  together.

```

## Parents

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

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