diff options
author | Kostya Serebryany <kcc@google.com> | 2013-11-14 13:28:17 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2013-11-14 13:28:17 +0000 |
commit | 68e16eb59c7f654cdb98a2811b3a42612b58a735 (patch) | |
tree | b9847d967f60fe09b1262b0ae5e3b475a8c5d0a0 /include | |
parent | b9ac7162892b283f05b70b6d79eb92119712ff0d (diff) |
[asan] Poor man's coverage that works with ASan (compiler-rt part)
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194702 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/sanitizer/common_interface_defs.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sanitizer/common_interface_defs.h b/include/sanitizer/common_interface_defs.h index 741958f83..b9c0d7311 100644 --- a/include/sanitizer/common_interface_defs.h +++ b/include/sanitizer/common_interface_defs.h @@ -47,6 +47,10 @@ extern "C" { void __sanitizer_unaligned_store32(void *p, uint32_t x); void __sanitizer_unaligned_store64(void *p, uint64_t x); + // Record and dump coverage info. + void __sanitizer_cov(void *pc); + void __sanitizer_cov_dump(); + #ifdef __cplusplus } // extern "C" #endif |