[PATCH] D114337: Support Windows
Dmitry Vassiliev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 25 14:12:11 PST 2021
slydiman added inline comments.
================
Comment at: lnt/testing/profile/cPerf.cpp:157
+ size = size + 128;
+ bufptr = (char*)realloc(bufptr, size);
+ if (bufptr == nullptr) return -1;
----------------
It seems `p` may be invalid after realloc().
Repository:
rLNT LNT
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D114337/new/
https://reviews.llvm.org/D114337
More information about the llvm-commits
mailing list