[all-commits] [llvm/llvm-project] f11bc1: [CMake] Support installation of InstrProfData.inc

Petr Hosek via All-commits all-commits at lists.llvm.org
Fri Nov 22 11:53:04 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f11bc1776fd2815b60e0b1ed97be00b517348162
      https://github.com/llvm/llvm-project/commit/f11bc1776fd2815b60e0b1ed97be00b517348162
  Author: Petr Hosek <phosek at google.com>
  Date:   2019-11-22 (Fri, 22 Nov 2019)

  Changed paths:
    M compiler-rt/include/CMakeLists.txt
    A compiler-rt/include/profile/InstrProfData.inc
    R compiler-rt/lib/profile/InstrProfData.inc
    M compiler-rt/lib/profile/InstrProfiling.c
    M compiler-rt/lib/profile/InstrProfiling.h
    M compiler-rt/lib/profile/InstrProfilingMerge.c
    M compiler-rt/lib/profile/InstrProfilingMergeFile.c
    M compiler-rt/lib/profile/InstrProfilingValue.c
    M compiler-rt/lib/profile/InstrProfilingWriter.c

  Log Message:
  -----------
  [CMake] Support installation of InstrProfData.inc

This header fragment is useful on its own for any consumer that wants
to use custom instruction profile runtime with the LLVM instrumentation.
The concrete use case is in Fuchsia's kernel where we want to use
instruction profile instrumentation, but we cannot use the compiler-rt
runtime because it's not designed for use in the kernel environment.
This change allows installing this header as part of compiler-rt.

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




More information about the All-commits mailing list