Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[InstrProf] Report error when merging temporal profiles
Temporal profiles do not support profile merging at runtime. The reason is that each function can only store one timestamp and the `llmv-profdata` tool is responsible for sampling traces during the merge command. Report an error in `__llvm_profile_merge_from_buffer()` if merging a temporal profile. The added test also checks that lightweight profiles throw an error, although this may be fixed in https://reviews.llvm.org/D157632 Reviewed By: MaskRay, zequanwu Differential Revision: https://reviews.llvm.org/D157664
- Loading branch information