[all-commits] [llvm/llvm-project] 8e61aa: [profile] Add a clang option -fprofile-continuous ...

Wael Yehia via All-commits all-commits at lists.llvm.org
Sat Feb 8 14:25:28 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8e61aae4a8ce938f42604b10123c3b21d4adc0b8
      https://github.com/llvm/llvm-project/commit/8e61aae4a8ce938f42604b10123c3b21d4adc0b8
  Author: Wael Yehia <wmyehia2001 at yahoo.com>
  Date:   2025-02-08 (Sat, 08 Feb 2025)

  Changed paths:
    M clang/docs/UsersManual.rst
    M clang/include/clang/Basic/CodeGenOptions.def
    M clang/include/clang/Driver/Options.td
    M clang/lib/CodeGen/BackendUtil.cpp
    M clang/lib/Driver/ToolChains/Clang.cpp
    A clang/test/CodeGen/profile-continuous.c
    A clang/test/Driver/fprofile-continuous.c

  Log Message:
  -----------
  [profile] Add a clang option -fprofile-continuous that enables continuous instrumentation profiling mode (#124353)

In Continuous instrumentation profiling mode, profile or coverage data
collected via compiler instrumentation is continuously synced to the
profile file. This feature has existed for a while, and is documented
here:

https://clang.llvm.org/docs/SourceBasedCodeCoverage.html#running-the-instrumented-program
This PR creates a user facing option to enable the feature.

---------

Co-authored-by: Wael Yehia <wyehia at ca.ibm.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list