[PAC][lld][AArch64][ELF] Support signed GOT with tiny code model (#113816)
[llvm-project.git] / compiler-rt / include / sanitizer / coverage_interface.h
blob6235dfc2d4ba486bc0721169d29902b387a42b57
1 //===-- sanitizer/coverage_interface.h --------------------------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 // Public interface for sanitizer coverage.
10 //===----------------------------------------------------------------------===//
12 #ifndef SANITIZER_COVERAG_INTERFACE_H
13 #define SANITIZER_COVERAG_INTERFACE_H
15 #include <sanitizer/common_interface_defs.h>
17 #ifdef __cplusplus
18 extern "C" {
19 #endif
21 // Record and dump coverage info.
22 void SANITIZER_CDECL __sanitizer_cov_dump(void);
24 // Clear collected coverage info.
25 void SANITIZER_CDECL __sanitizer_cov_reset(void);
27 // Dump collected coverage info. Sorts pcs by module into individual .sancov
28 // files.
29 void SANITIZER_CDECL __sanitizer_dump_coverage(const uintptr_t *pcs,
30 uintptr_t len);
32 #ifdef __cplusplus
33 } // extern "C"
34 #endif
36 #endif // SANITIZER_COVERAG_INTERFACE_H