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

Hongtao Yu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 5 16:58:31 PDT 2021


hoy added a comment.

lgtm, thanks.



================
Comment at: llvm/tools/llvm-profgen/ProfiledBinary.h:76
   StringRef FuncName;
+  // End of range is a exclusive bound.
   RangesTy Ranges;
----------------
nit: an exclusive


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D113238



More information about the llvm-commits mailing list