aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorZequan Wu <zequanwu@google.com>2023-08-10 11:57:07 -0400
committerZequan Wu <zequanwu@google.com>2023-08-14 15:15:01 -0400
commitcf2cf195d5fb0a07c122c5c274bd6deb0790e015 (patch)
tree0d35b64b2cdf97e9d3f04c9686d50a9ca643fd3e /clang/lib/Frontend/CompilerInvocation.cpp
parentf0c5ce0800ea018c848158fbce43e8820b22119c (diff)
downloadllvm-cf2cf195d5fb0a07c122c5c274bd6deb0790e015.zip
llvm-cf2cf195d5fb0a07c122c5c274bd6deb0790e015.tar.gz
llvm-cf2cf195d5fb0a07c122c5c274bd6deb0790e015.tar.bz2
[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
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions