llvm-project
dc5c6d00 - [sancov] add -fsanitize-coverage=trace-pc-entry-exit (#185972)

Commit
1 day ago
[sancov] add -fsanitize-coverage=trace-pc-entry-exit (#185972) Add a SanCov flag for calling dedicated hook functions on function entry and exit. This flag can be used either in combination with -fsanitize-coverage=trace-pc (in which case this patch changes which hook is called for the entry BB, and generates an additional hook call before return), or it can be used by itself (in which case only the dedicated entry/exit callbacks are invoked). This can be used to track the call stack throughout a sancov trace. cc @vitalybuka @dvyukov
Author
Parents
Loading