diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2024-08-28 14:36:28 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2024-08-28 18:07:13 -0700 |
| commit | 88bba4c15463796c0b89a4d097366b11bdb7679c (patch) | |
| tree | 7d2ce0cb17531525470f110fc6a5516ea1da65a3 /lib/std/Build/Step/Compile.zig | |
| parent | b8d99a332395ec0a1b9ed1a8e18f0db8db131b3c (diff) | |
| download | zig-88bba4c15463796c0b89a4d097366b11bdb7679c.tar.gz zig-88bba4c15463796c0b89a4d097366b11bdb7679c.zip | |
LLVM: enable sancov pass partially
It's useful to have TraceCmp based on the results of LLVM optimizations,
while the code coverage bits were emitted by Zig manually, allowing more
careful correlation to points of interest in the source code.
This re-enables the sancov pass in `-ffuzz` mode, but only TraceCmp.
Notably, IndirectCalls is off, which needs to be implemented manually in
the LLVM backend, and StackDepth remains off, because it is not used by
libfuzzer or AFL either.
If stack depth is re-introduced, it can be done with better performance
characteristics by being function call graph aware, and only lowered in
call graph cycles, where its heuristic properties come in useful.
Fixes the fuzzing regression.
Diffstat (limited to 'lib/std/Build/Step/Compile.zig')
0 files changed, 0 insertions, 0 deletions
