[all-commits] [llvm/llvm-project] f52f8e: [Profile] Allow online merging with debug info cor...
Zequan Wu via All-commits
all-commits at lists.llvm.org
Mon Aug 28 13:35:55 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f52f8e817ea36e003e8f09672de48c3c460093f4
https://github.com/llvm/llvm-project/commit/f52f8e817ea36e003e8f09672de48c3c460093f4
Author: Zequan Wu <zequanwu at google.com>
Date: 2023-08-28 (Mon, 28 Aug 2023)
Changed paths:
M clang/lib/CodeGen/BackendUtil.cpp
M compiler-rt/lib/profile/InstrProfilingMerge.c
M compiler-rt/test/profile/Darwin/instrprof-debug-info-correlate.c
M compiler-rt/test/profile/Linux/instrprof-debug-info-correlate.c
A compiler-rt/test/profile/instrprof-merge-empty-data.test
M compiler-rt/test/profile/instrprof-merge-error.c
Log Message:
-----------
[Profile] Allow online merging with debug info correlation.
When using debug info correlation, value profiling needs to be switched off.
So, we are only merging counter sections. In that case the existance of data
section is just used to provide an extra check in case of corrupted profile.
This patch performs counter merging by iterating the counter section by counter
size and add them together.
Reviewed By: ellis, MaskRay
Differential Revision: https://reviews.llvm.org/D157632
More information about the All-commits
mailing list