[PATCH] D113238: [llvm-profgen] Fix index out of bounds error while using ip.advance

Lei Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 5 09:43:52 PDT 2021


wlei updated this revision to Diff 385104.
wlei added a comment.

remove code of InstructionPointer.advance and work on offset directly.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D113238

Files:
  llvm/test/tools/llvm-profgen/Inputs/out-of-bounds.raw.prof
  llvm/test/tools/llvm-profgen/inline-noprobe.test
  llvm/tools/llvm-profgen/ProfileGenerator.cpp
  llvm/tools/llvm-profgen/ProfiledBinary.cpp
  llvm/tools/llvm-profgen/ProfiledBinary.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D113238.385104.patch
Type: text/x-patch
Size: 13017 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211105/2e98fa5d/attachment.bin>


More information about the llvm-commits mailing list