[all-commits] [llvm/llvm-project] da0534: [profile] Add `%b` `LLVM_PROFILE_FILE` option for ...

Sinkevich Artem via All-commits all-commits at lists.llvm.org
Thu Feb 6 13:05:32 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: da053415d214d6a66ff5f8c69eb35b2c9ada9caf
      https://github.com/llvm/llvm-project/commit/da053415d214d6a66ff5f8c69eb35b2c9ada9caf
  Author: Sinkevich Artem <artsin666 at gmail.com>
  Date:   2025-02-06 (Thu, 06 Feb 2025)

  Changed paths:
    M clang/docs/SourceBasedCodeCoverage.rst
    M clang/docs/UsersManual.rst
    M compiler-rt/lib/profile/InstrProfilingFile.c
    A compiler-rt/test/profile/Linux/binary-id-path.c

  Log Message:
  -----------
  [profile] Add `%b` `LLVM_PROFILE_FILE` option for binary ID (#123963)

Add support for expanding `%b` in `LLVM_PROFILE_FILE` to the binary ID
(build ID). It can be used with `%m` to avoid its signature collisions.

This is supported on all platforms where writing binary IDs into
profiles is implemented, as the `__llvm_write_binary_ids` function is
used.

Fixes #51560.



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