[PATCH] D60896: Improve error reporting for mismatched value sites in IPGO

Dmitry Mikulin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 18 16:30:09 PDT 2019


dmikulin created this revision.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.

The error message for mismatched value sites is very cryptic.
This is an attempt to make it more readable.


https://reviews.llvm.org/D60896

Files:
  compiler-rt/lib/profile/InstrProfData.inc
  compiler-rt/lib/profile/InstrProfiling.h
  llvm/include/llvm/ProfileData/InstrProf.h
  llvm/include/llvm/ProfileData/InstrProfData.inc
  llvm/lib/ProfileData/InstrProfWriter.cpp
  llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
  llvm/test/Transforms/PGOProfile/Inputs/diag_no_value_sites.proftext
  llvm/test/Transforms/PGOProfile/diag_no_value_sites.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60896.195841.patch
Type: text/x-patch
Size: 6494 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190418/2b4e7b8b/attachment.bin>


More information about the llvm-commits mailing list