[PATCH] D148417: [compiler-rt][profiling] Add an incremental buffer writing mode to libprofile
David Tellenbach via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jul 9 00:07:29 PDT 2023
tellenbach added inline comments.
================
Comment at: compiler-rt/lib/profile/InstrProfilingWriter.c:382
return -1;
+}
----------------
Seems like this function is missing a return in case the branch is not taken. This is UB.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D148417/new/
https://reviews.llvm.org/D148417
More information about the llvm-commits
mailing list