[PATCH] D108747: [llvm][ProfileData] Add a warning to indicate potentially corrupted data
Leonard Chan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 25 20:41:42 PDT 2021
leonardchan added a comment.
I'm not particularly fond of this solution, but I couldn't think of anything better (and am open for suggestions). My initial thought was that we could instead use a `char *` for the buffer rather than a `SmallString`, and when allocating the buffer we could just check if the `malloc
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D108747/new/
https://reviews.llvm.org/D108747
More information about the llvm-commits
mailing list