Alphan Ulusoy | d2bbbe1 | 2020-08-14 15:39:51 -0400 | [diff] [blame] | 1 | // 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 Bradbury | 27169bb | 2021-03-19 14:06:54 +0000 | [diff] [blame] | 5 | #ifndef OPENTITAN_SW_DEVICE_LIB_TESTING_TEST_COVERAGE_H_ |
| 6 | #define OPENTITAN_SW_DEVICE_LIB_TESTING_TEST_COVERAGE_H_ |
| 7 | |
Alphan Ulusoy | d2bbbe1 | 2020-08-14 15:39:51 -0400 | [diff] [blame] | 8 | /** |
| 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 | */ |
| 15 | void test_coverage_send_buffer(void); |
Alex Bradbury | 27169bb | 2021-03-19 14:06:54 +0000 | [diff] [blame] | 16 | |
| 17 | #endif // OPENTITAN_SW_DEVICE_LIB_TESTING_TEST_COVERAGE_H_ |