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 a separate distribution
component without having to install all LLVM headers.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
llvm/include/llvm/ProfileData/CMakeLists.txt | ||
---|---|---|
7 | You can use add_llvm_install_targets right? |
llvm/include/llvm/ProfileData/CMakeLists.txt | ||
---|---|---|
7 | I've changed the approach and moved this to compiler-rt which I think is a more appropriate place since this is related to the runtime. |
Comment Actions
Lgtm. There are a few more profile headers we’d like to expose for internal clients. Thanks for laying the groundwork.
You can use add_llvm_install_targets right?