[PATCH] D135119: [scudo] Optimize scudo test string allocation
Vitaly Buka via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 12 12:02:03 PST 2022
vitalybuka added inline comments.
================
Comment at: compiler-rt/lib/scudo/standalone/string_utils.h:31
void output() const { outputRaw(String.data()); }
+ void reserve(size_t Size) { String.reserve(Size + 1); }
----------------
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D135119/new/
https://reviews.llvm.org/D135119
More information about the llvm-commits
mailing list