[all-commits] [llvm/llvm-project] 215519: [Coverage] Map regions from system headers

gulfemsavrun via All-commits all-commits at lists.llvm.org
Mon Feb 6 10:12:17 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2155195131a57f2f01e7cfabb85bb027518c2dc6
      https://github.com/llvm/llvm-project/commit/2155195131a57f2f01e7cfabb85bb027518c2dc6
  Author: Gulfem Savrun Yeniceri <gulfem at google.com>
  Date:   2023-02-06 (Mon, 06 Feb 2023)

  Changed paths:
    M clang/lib/CodeGen/CoverageMappingGen.cpp
    M clang/test/CoverageMapping/system_macro.cpp

  Log Message:
  -----------
  [Coverage] Map regions from system headers

Originally, the following commit removed mapping coverage regions for system headers:
https://github.com/llvm/llvm-project/commit/93205af066341a53733046894bd75c72c99566db

It might be viable and useful to collect coverage from system headers in some systems.
This patch adds --system-headers-coverage option (disabled by default) to enable
collecting coverage from system headers.

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




More information about the All-commits mailing list