re PR c++/63508 (ICE when using bracketed initializer on pointer to member function...
[official-gcc.git] / libsanitizer / include / sanitizer / coverage_interface.h
blob2f3613583da30f1a1ee8a6e2d6b020a9be3d85c7
1 //===-- sanitizer/coverage_interface.h --------------------------*- C++ -*-===//
2 //
3 // This file is distributed under the University of Illinois Open Source
4 // License. See LICENSE.TXT for details.
5 //
6 //===----------------------------------------------------------------------===//
7 //
8 // Public interface for sanitizer coverage.
9 //===----------------------------------------------------------------------===//
11 #ifndef SANITIZER_COVERAG_INTERFACE_H
12 #define SANITIZER_COVERAG_INTERFACE_H
14 #include <sanitizer/common_interface_defs.h>
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
20 // Record and dump coverage info.
21 void __sanitizer_cov_dump(void);
23 // Clear collected coverage info.
24 void __sanitizer_cov_reset(void);
26 // Dump collected coverage info. Sorts pcs by module into individual .sancov
27 // files.
28 void __sanitizer_dump_coverage(const uintptr_t *pcs, uintptr_t len);
30 #ifdef __cplusplus
31 } // extern "C"
32 #endif
34 #endif // SANITIZER_COVERAG_INTERFACE_H