[all-commits] [llvm/llvm-project] 32db12: [Coverage] Allow Clang coverage to be used with de...

Zequan Wu via All-commits all-commits at lists.llvm.org
Fri Sep 15 10:47:37 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 32db121b29f78e4c41116b2a8f1c730f9522b202
      https://github.com/llvm/llvm-project/commit/32db121b29f78e4c41116b2a8f1c730f9522b202
  Author: Zequan Wu <zequanwu at google.com>
  Date:   2023-09-15 (Fri, 15 Sep 2023)

  Changed paths:
    M clang/lib/CodeGen/CoverageMappingGen.cpp
    A clang/test/CodeGen/coverage-profile-raw-version.c
    A compiler-rt/test/profile/Darwin/coverage-debug-info-correlate.cpp
    A compiler-rt/test/profile/Linux/coverage-debug-info-correlate.cpp
    M llvm/include/llvm/ProfileData/Coverage/CoverageMappingReader.h
    M llvm/include/llvm/ProfileData/InstrProfCorrelator.h
    M llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
    M llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp
    M llvm/lib/ProfileData/InstrProfCorrelator.cpp
    M llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
    A llvm/test/Instrumentation/InstrProfiling/debug-info-correlate-byte-coverage.ll
    A llvm/test/Instrumentation/InstrProfiling/debug-info-correlate-clang-coverage.ll
    R llvm/test/Instrumentation/InstrProfiling/debug-info-correlate-coverage.ll

  Log Message:
  -----------
  [Coverage] Allow Clang coverage to be used with debug info correlation.

Debug info correlation is an option in InstrProfiling pass, which is used by
both IR instrumentation and front-end instrumentation. So, Clang coverage can
also benefits the binary size saving from it.

Reviewed By: ellis

Differential Revision: https://reviews.llvm.org/D157913




More information about the All-commits mailing list