[all-commits] [llvm/llvm-project] e7aab3: [profile] Factor out logic for mmap'ing merged pro...

Vedant Kumar via All-commits all-commits at lists.llvm.org
Wed Nov 13 07:52:21 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e7aab320b1f59e077295318b9a152ed25dabe940
      https://github.com/llvm/llvm-project/commit/e7aab320b1f59e077295318b9a152ed25dabe940
  Author: Vedant Kumar <vsk at apple.com>
  Date:   2019-11-13 (Wed, 13 Nov 2019)

  Changed paths:
    M compiler-rt/lib/profile/InstrProfilingFile.c

  Log Message:
  -----------
  [profile] Factor out logic for mmap'ing merged profile, NFC

Split out the logic to get the size of a merged profile and to do a
compatibility check. This can be shared with both the continuous+merging
mode implementation, as well as the runtime-allocated counters
implementation planned for Fuchsia.

Lifted out of D69586.

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




More information about the All-commits mailing list