[PATCH] D66979: [InstrProf] Tighten a check for malformed data records in raw profiles

Vedant Kumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 9 11:26:43 PDT 2019


vsk added a comment.

In D66979#1701139 <https://reviews.llvm.org/D66979#1701139>, @w2yehia wrote:

> Hi @vsk can you provide a description/script on how to recreate the `malformed-ptr-to-counter-array.profraw` file when someone is changing the profile layout (for example by adding new value profiling kinds).
>  I'm thinking something like `llvm/test/tools/llvm-profdata/raw-two-profiles.test` would be nice
>  Thanks.


Hi @w2yehia, I think the test needs to rewritten. PTAL at D68718 <https://reviews.llvm.org/D68718>.


Repository:
  rL LLVM

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

https://reviews.llvm.org/D66979





More information about the llvm-commits mailing list