blob: 285b4c38480f66ea18c936ea9a5499bc0fa85b95 [file] [log] [blame]
// Copyright lowRISC contributors.
// Licensed under the Apache License, Version 2.0, see LICENSE for details.
// SPDX-License-Identifier: Apache-2.0
#ifndef OPENTITAN_SW_DEVICE_LIB_TESTING_TEST_FRAMEWORK_COVERAGE_H_
#define OPENTITAN_SW_DEVICE_LIB_TESTING_TEST_FRAMEWORK_COVERAGE_H_
/**
* Sends the LLVM profile buffer along with its length and CRC32.
*
* This function must be called at the end of a test. Note that this profile
* data is raw and must be indexed before it can be used to generate coverage
* reports.
*/
void coverage_send_buffer(void);
#endif // OPENTITAN_SW_DEVICE_LIB_TESTING_TEST_FRAMEWORK_COVERAGE_H_