[all-commits] [llvm/llvm-project] f35032: Reland "[CMake] Support installation of InstrProfD...

Petr Hosek via All-commits all-commits at lists.llvm.org
Fri Nov 22 14:09:58 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f35032e03d9263b1d2a8ac2e675fc94cb43b608b
      https://github.com/llvm/llvm-project/commit/f35032e03d9263b1d2a8ac2e675fc94cb43b608b
  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
    M compiler-rt/lib/profile/CMakeLists.txt
    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
    M llvm/utils/gn/secondary/compiler-rt/include/BUILD.gn
    M llvm/utils/gn/secondary/compiler-rt/lib/profile/BUILD.gn

  Log Message:
  -----------
  Reland "[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