[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
Thu Feb 18 16:11:52 PST 2021


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

- Change initial value to -1 to avoid false warnings.


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/Transforms/PGOProfile/memop_size_opt.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.324805.patch
Type: text/x-patch
Size: 14217 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210219/5df373d6/attachment-0001.bin>


More information about the llvm-commits mailing list