ChiaHungDuan wrote: Sorry I may not say this clearly. It's better to have `copyToBuffer` follow the new convention in this change and have another CL to fix the uses in `getStats`, .etc. https://github.com/llvm/llvm-project/pull/130273