From 704327557d8a5e10129e670f25ffc994cd616564 Mon Sep 17 00:00:00 2001 From: Oleksandr Pavlyk Date: Thu, 29 Feb 2024 12:11:37 -0600 Subject: [PATCH] Restore using -fno-sycl-footer option for coverage collection As pointed out by @diptorupd lcov file no longer contain data for libsyclinterface cpp files. Restoring this option recovers those locally. --- libsyclinterface/cmake/modules/SetupCoverage.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsyclinterface/cmake/modules/SetupCoverage.cmake b/libsyclinterface/cmake/modules/SetupCoverage.cmake index be83dfe38e..506ed11317 100644 --- a/libsyclinterface/cmake/modules/SetupCoverage.cmake +++ b/libsyclinterface/cmake/modules/SetupCoverage.cmake @@ -25,7 +25,7 @@ function(setup_coverage_generation) string(CONCAT PROFILE_FLAGS "-fprofile-instr-generate " "-fcoverage-mapping " -# "-fno-sycl-use-footer " + "-fno-sycl-use-footer " # "-save-temps=obj " )