r254481 - [sanitizer coverage] document -fsanitize-coverage=trace-bb
Kostya Serebryany via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 1 18:08:27 PST 2015
Author: kcc
Date: Tue Dec 1 20:08:26 2015
New Revision: 254481
URL: http://llvm.org/viewvc/llvm-project?rev=254481&view=rev
Log:
[sanitizer coverage] document -fsanitize-coverage=trace-bb
Modified:
cfe/trunk/docs/SanitizerCoverage.rst
Modified: cfe/trunk/docs/SanitizerCoverage.rst
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/SanitizerCoverage.rst?rev=254481&r1=254480&r2=254481&view=diff
==============================================================================
--- cfe/trunk/docs/SanitizerCoverage.rst (original)
+++ cfe/trunk/docs/SanitizerCoverage.rst Tue Dec 1 20:08:26 2015
@@ -249,6 +249,13 @@ These counters may also be used for in-p
uintptr_t
__sanitizer_update_counter_bitset_and_clear_counters(uint8_t *bitset);
+Tracing basic blocks
+====================
+An *experimental* feature to support basic block (or edge) tracing.
+With ``-fsanitize-coverage=trace-bb`` the compiler will insert
+``__sanitizer_cov_trace_basic_block(s32 *id)`` before every function, basic block, or edge
+(depending on the value of ``-fsanitize-coverage=[func,bb,edge]``).
+
Tracing data flow
=================
More information about the cfe-commits
mailing list