This is an automated email from the ASF dual-hosted git repository.

xiaoxiang781216 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit aa6ed38f9a91413d131b098616b93f1d64819797
Author: wangmingrong1 <[email protected]>
AuthorDate: Mon Nov 2 16:08:36 2026 +0800

    tools/gcov: name the clang tracefile gcov.info like the gcc path
    
    Downstream tooling (VTF and the lcov merge step) looks for a single
    gcov.info regardless of the toolchain, so write the llvm-cov export to
    that name instead of a toolchain-specific one.
    
    Signed-off-by: wangmingrong1 <[email protected]>
---
 tools/gcov.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/gcov.py b/tools/gcov.py
index 3dd3d01cd9d..c3b7674738c 100755
--- a/tools/gcov.py
+++ b/tools/gcov.py
@@ -1222,7 +1222,7 @@ def run_clang_pipeline(
     cov_binary = clang_resolve_cov_binary(tools, elf_path, gcno_dir, 
result_dir)
 
     # Export first: the SF: records drive path remap and build-root inference.
-    cov_info = os.path.join(result_dir, "coverage.info")
+    cov_info = os.path.join(result_dir, "gcov.info")
     try:
         clang_run_export_lcov(tools, profdata, cov_binary, cov_info)
     except subprocess.CalledProcessError as e:

Reply via email to