[all-commits] [llvm/llvm-project] 3f3d67: [sancov] Add -diff option to compute set differenc...

Manuel Carrasco via All-commits all-commits at lists.llvm.org
Mon Dec 8 11:39:24 PST 2025


  Branch: refs/heads/users/mgcarrasco/sancov/compute_diff
  Home:   https://github.com/llvm/llvm-project
  Commit: 3f3d67964f49387844f83ed0c510daa0b1f258d9
      https://github.com/llvm/llvm-project/commit/3f3d67964f49387844f83ed0c510daa0b1f258d9
  Author: Manuel Carrasco <Manuel.Carrasco at amd.com>
  Date:   2025-12-08 (Mon, 08 Dec 2025)

  Changed paths:
    A llvm/test/tools/sancov/diff-different-files.test
    A llvm/test/tools/sancov/diff-same-file.test
    M llvm/tools/sancov/Opts.td
    M llvm/tools/sancov/sancov.cpp

  Log Message:
  -----------
  [sancov] Add -diff option to compute set difference of sancov files

Add a new -diff action that computes the difference between two sancov
coverage files (A - B) and writes the result to a new .sancov file.

The option takes exactly two input .sancov files and requires an
--output option to specify the output file. The output file preserves
the binary format (magic number and bitness) from the first input file.

A warning is emitted if the two input files have different bitness
(32-bit vs 64-bit), though the operation proceeds using the bitness
from file A.


  Commit: 80fa3cc01b78506b1da284845ffc8a00cb6fb636
      https://github.com/llvm/llvm-project/commit/80fa3cc01b78506b1da284845ffc8a00cb6fb636
  Author: Manuel Carrasco <Manuel.Carrasco at amd.com>
  Date:   2025-12-08 (Mon, 08 Dec 2025)

  Changed paths:
    M clang/docs/SanitizerCoverage.rst

  Log Message:
  -----------
  [sancov] Refreshed CLI for sancov in docs.


Compare: https://github.com/llvm/llvm-project/compare/d424daf70528...80fa3cc01b78

To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list