Some users maintain custom runtimes which provide support for
-fprofile-instr-generate instrumentation in non-standard environments
(e.g the kernel).
It may not be obvious which functions need to be implemented or what
their signatures are. Silent breakage is possible if the runtime's
internal interface changes.
This patch installs a few headers from the profiling runtime to serve as
a reference:
$ ninja install-compiler-rt-headers -v ... -- Installing: /usr/local/lib/clang/10.0.0/include/profile/InstrProfiling.h -- Installing: /usr/local/lib/clang/10.0.0/include/profile/InstrProfilingInternal.h -- Installing: /usr/local/lib/clang/10.0.0/include/profile/InstrProfData.inc
rdar://44375648
@vsk Minor nit. Any particular reason why those header files live under lib instead on under include/ in the source tree?