[PATCH] D119972: [demangler] Improve buffer hysteresis

Chuanqi Xu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 16 19:28:42 PST 2022


ChuanqiXu added a comment.

I found it is possible to add a test for this in llvm/unittest/Demangle/. The unittest uses google test and we could test the number of reallocation in a certain input. I think it is always better to add a test when we make a non-NFC change.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D119972/new/

https://reviews.llvm.org/D119972



More information about the llvm-commits mailing list