llvm-project/llvm/tools/llvm-profdata
Ellis Hoag 65d7fd0239 [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
2021-12-17 10:45:59 -08:00
..
CMakeLists.txt [Try2][InstrProf] Add Correlator class to read debug info 2021-12-17 10:45:59 -08:00
llvm-profdata.cpp [Try2][InstrProf] Add Correlator class to read debug info 2021-12-17 10:45:59 -08:00