aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorEllis Hoag <ellis.sparky.hoag@gmail.com>2021-12-13 16:47:47 -0800
committerEllis Hoag <ellis.sparky.hoag@gmail.com>2021-12-13 17:51:22 -0800
commit800bf8ed29fbcaa9436540e83bc119ec92e7d40f (patch)
tree9008c03e3d64945ce9e67f60a4c558091dfa38f6 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parenta290770fa848cfe9b46dcc2c44e06e15cafd0f23 (diff)
downloadllvm-800bf8ed29fbcaa9436540e83bc119ec92e7d40f.zip
llvm-800bf8ed29fbcaa9436540e83bc119ec92e7d40f.tar.gz
llvm-800bf8ed29fbcaa9436540e83bc119ec92e7d40f.tar.bz2
[InstrProf] Attach debug info to counters
Add the llvm flag `-debug-info-correlate` to attach debug info to instrumentation counters so we can correlate raw profile data to their functions. Raw profiles are dumped as `.proflite` files. The next diff enables `llvm-profdata` to consume `.proflite` and debug info files to produce a normal `.profdata` profile. Part of the "lightweight instrumentation" work: https://groups.google.com/g/llvm-dev/c/r03Z6JoN7d4 Reviewed By: kyulee Differential Revision: https://reviews.llvm.org/D114565
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions