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

Petr Hosek via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 24 19:07:48 PST 2021


phosek created this revision.
phosek added reviewers: vsk, davidxl, keith.
Herald added subscribers: jansvoboda11, dexonsmith, dang.
phosek requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D97434

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97434.326266.patch
Type: text/x-patch
Size: 17072 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210225/e2c765fd/attachment-0001.bin>


More information about the cfe-commits mailing list