[PATCH] D68351: [profile] Add a mode to continuously sync counter updates to a file
Ethan Vaughan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 2 16:41:51 PDT 2019
ejvaughan added inline comments.
================
Comment at: compiler-rt/lib/profile/InstrProfilingFile.c:396
+ int Length = getCurFilenameLength();
+ char *FilenameBuf = (char *)COMPILER_RT_ALLOCA(Length + 1);
+ const char *Filename = getCurFilename(FilenameBuf, 0);
----------------
Does `FilenameBuf` need to be free'd, or is it stack allocated?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D68351/new/
https://reviews.llvm.org/D68351
More information about the llvm-commits
mailing list