diff options
author | alexv-smirnov <alex@ydb.tech> | 2023-06-13 11:05:01 +0300 |
---|---|---|
committer | alexv-smirnov <alex@ydb.tech> | 2023-06-13 11:05:01 +0300 |
commit | bf0f13dd39ee3e65092ba3572bb5b1fcd125dcd0 (patch) | |
tree | 1d1df72c0541a59a81439842f46d95396d3e7189 /build/conf/coverage_full_instrumentation.conf | |
parent | 8bfdfa9a9bd19bddbc58d888e180fbd1218681be (diff) | |
download | ydb-bf0f13dd39ee3e65092ba3572bb5b1fcd125dcd0.tar.gz |
add ymake export to ydb
Diffstat (limited to 'build/conf/coverage_full_instrumentation.conf')
-rw-r--r-- | build/conf/coverage_full_instrumentation.conf | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/build/conf/coverage_full_instrumentation.conf b/build/conf/coverage_full_instrumentation.conf new file mode 100644 index 0000000000..b87313e7d6 --- /dev/null +++ b/build/conf/coverage_full_instrumentation.conf @@ -0,0 +1,8 @@ +USE_SCU_VALUE="yes" + +macro POPULATE_CPP_COVERAGE_FLAGS() { + when ($CLANG_COVERAGE && $CLANG_COVERAGE != "no") { + CFLAGS+=-fprofile-instr-generate -fcoverage-mapping -DCLANG_COVERAGE + LDFLAGS+=-fprofile-instr-generate -fcoverage-mapping + } +} |