diff options
author | Ellis Hoag <ellis.sparky.hoag@gmail.com> | 2021-12-16 14:45:54 -0800 |
---|---|---|
committer | Ellis Hoag <ellis.sparky.hoag@gmail.com> | 2021-12-17 10:45:59 -0800 |
commit | 65d7fd0239bf301c5dcaa26ed474200845966136 (patch) | |
tree | 33a77e35ab496735fba3057064f8f9e2e08f26ff /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 163c13fed9f68c31a14b3d2409b994909f0600bb (diff) | |
download | llvm-65d7fd0239bf301c5dcaa26ed474200845966136.zip llvm-65d7fd0239bf301c5dcaa26ed474200845966136.tar.gz llvm-65d7fd0239bf301c5dcaa26ed474200845966136.tar.bz2 |
[Try2][InstrProf] Add Correlator class to read debug info
Extend `llvm-profdata` to read in a `.proflite` file and also a debug info file to generate a normal `.profdata` profile. This reduces the binary size by 8.4% when building an instrumented Clang binary without value profiling (164 MB vs 179 MB).
This work is part of the "lightweight instrumentation" RFC: https://groups.google.com/g/llvm-dev/c/r03Z6JoN7d4
This was first landed in https://reviews.llvm.org/D114566 but had to be reverted due to build errors.
Reviewed By: kyulee
Differential Revision: https://reviews.llvm.org/D115915
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions