blob: 1352df7af28ffc636cc39bfe6ee3e21f2d6c0ac8 [file] [log] [blame]
Alphan Ulusoyd2bbbe12020-08-14 15:39:51 -04001// Copyright lowRISC contributors.
2// Licensed under the Apache License, Version 2.0, see LICENSE for details.
3// SPDX-License-Identifier: Apache-2.0
4
Alex Bradbury27169bb2021-03-19 14:06:54 +00005#ifndef OPENTITAN_SW_DEVICE_LIB_TESTING_TEST_COVERAGE_H_
6#define OPENTITAN_SW_DEVICE_LIB_TESTING_TEST_COVERAGE_H_
7
Alphan Ulusoyd2bbbe12020-08-14 15:39:51 -04008/**
9 * Sends the LLVM profile buffer along with its length and CRC32.
10 *
11 * This function must be called at the end of a test. Note that this profile
12 * data is raw and must be indexed before it can be used to generate coverage
13 * reports.
14 */
15void test_coverage_send_buffer(void);
Alex Bradbury27169bb2021-03-19 14:06:54 +000016
17#endif // OPENTITAN_SW_DEVICE_LIB_TESTING_TEST_COVERAGE_H_