[PATCH] D153771: [BOLT][Instrumentation] Fix hash table memory corruption and append-pid option
Alexander Yermolovich via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 27 14:58:58 PDT 2023
ayermolo added inline comments.
================
Comment at: bolt/runtime/instr.cpp:255
+ void dump(const char *Msg = nullptr) {
+ char Buf[BufSize];
+ char *Ptr = Buf;
----------------
Can you add some kind of check that we are not overflowing Buf?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D153771/new/
https://reviews.llvm.org/D153771
More information about the llvm-commits
mailing list