![]() |
Arene Base
Fundamental Utilities For Safety Critical C++
|
Go to the source code of this file.
| #define ARENE_IS_COVERAGE_COMPILATION |
A platform support query for testing if the current compilation is happening under a coverage tool such as gcov or LLVMCov.
Usage:
The value of this query is determined as follows, in order of precedence:
ARENE_IS_COVERAGE_COMPILATION has been explicitly defined via a -D flag to the compiler or similar:ARENE_ON if it is truthyARENE_OFF if it is not truthyARENE_IS_ON(ARENE_IS_GCOV) or ARENE_IS_ON(ARENE_IS_LLVMCOV) returns true it is ARENE_ON_BY_DEFAULT | #define ARENE_IS_COVERAGE_COMPILATION_I_ ARENE_OFF_BY_DEFAULT |
| #define ARENE_IS_GCOV |
A platform support query for testing if the current compilation is happening under gcov.
Usage:
The value of this query is determined as follows, in order of precedence:
ARENE_IS_GCOV has been explicitly defined via a -D flag to the compiler or similar:ARENE_ON if it is truthyARENE_OFF if it is not truthy__GCOV__ is defined it is ARENE_ON_BY_DEFAULT ARENE_OFF_BY_DEFAULT | #define ARENE_IS_GCOV_I_ ARENE_OFF_BY_DEFAULT |
| #define ARENE_IS_LLVMCOV |
A platform support query for testing if the current compilation is happening under LLVMCov.
Usage:
The value of this query is determined as follows, in order of precedence:
ARENE_IS_LLVMCOV has been explicitly defined via a -D flag to the compiler or similar:ARENE_ON if it is truthyARENE_OFF if it is not truthy__LLVM_INSTR_PROFILE_GENERATE is defined it is ARENE_ON_BY_DEFAULT | #define ARENE_IS_LLVMCOV_I_ ARENE_OFF_BY_DEFAULT |