[PATCH] D92074: [llvm-profdata] Emit Error when Invalid MemOpSize Section is Created by llvm-profdata

Matthew Voss via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 26 11:21:38 PST 2021


ormris updated this revision to Diff 319364.
ormris added a comment.

- Add in-pass profile data check
- Change error to warning in llvm-profdata
- Update tests


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D92074/new/

https://reviews.llvm.org/D92074

Files:
  llvm/include/llvm/ProfileData/InstrProf.h
  llvm/include/llvm/ProfileData/InstrProfWriter.h
  llvm/lib/ProfileData/InstrProf.cpp
  llvm/lib/ProfileData/InstrProfWriter.cpp
  llvm/lib/Transforms/Instrumentation/PGOMemOPSizeOpt.cpp
  llvm/test/Transforms/PGOProfile/Inputs/consecutive-zeros.proftext
  llvm/test/Transforms/PGOProfile/consecutive-zeros.ll
  llvm/test/tools/llvm-profdata/invalid-profile-gen-zeros.proftext
  llvm/tools/llvm-profdata/llvm-profdata.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92074.319364.patch
Type: text/x-patch
Size: 10380 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210126/cd883605/attachment.bin>


More information about the llvm-commits mailing list