[all-commits] [llvm/llvm-project] c33244: [clang] Add -fprofile-prefix-map

Keith Smiley via All-commits all-commits at lists.llvm.org
Mon Jan 25 10:14:43 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c3324450b204392169d4ec7172cb32f74c03e376
      https://github.com/llvm/llvm-project/commit/c3324450b204392169d4ec7172cb32f74c03e376
  Author: Keith Smiley <keithbsmiley at gmail.com>
  Date:   2021-01-25 (Mon, 25 Jan 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
    M clang/test/Driver/debug-prefix-map.c
    A clang/test/Profile/profile-prefix-map.c

  Log Message:
  -----------
  [clang] Add -fprofile-prefix-map

This flag allows you to re-write absolute paths in coverage data analogous to -fdebug-prefix-map. This flag is also implied by -ffile-prefix-map.




More information about the All-commits mailing list