[all-commits] [llvm/llvm-project] 8459b8: [Driver] Rename -fprofile-{prefix-map, compilation-...

Petr Hosek via All-commits all-commits at lists.llvm.org
Thu Feb 25 21:54:24 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8459b8ef39f4d745f2aab8c43821b3389b0e5a74
      https://github.com/llvm/llvm-project/commit/8459b8ef39f4d745f2aab8c43821b3389b0e5a74
  Author: Petr Hosek <phosek at google.com>
  Date:   2021-02-25 (Thu, 25 Feb 2021)

  Changed paths:
    M clang/include/clang/Basic/CodeGenOptions.h
    M clang/include/clang/Driver/Options.td
    M clang/lib/CodeGen/CoverageMappingGen.cpp
    M clang/lib/CodeGen/CoverageMappingGen.h
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/lib/Frontend/CompilerInvocation.cpp
    A clang/test/CodeGen/coverage-compilation-dir.c
    R clang/test/CodeGen/profile-compilation-dir.c
    M clang/test/Driver/debug-prefix-map.c
    A clang/test/Profile/coverage-prefix-map.c
    R clang/test/Profile/profile-prefix-map.c

  Log Message:
  -----------
  [Driver] Rename -fprofile-{prefix-map,compilation-dir} to -fcoverage-{prefix-map,compilation-dir}

These flags affect coverage mapping (-fcoverage-mapping), not
-fprofile-[instr-]generate so it makes more sense to use the
-fcoverage-* prefix.

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




More information about the All-commits mailing list