diff options
author | Wu, Yingcong <yingcong.wu@intel.com> | 2023-03-02 01:36:37 +0000 |
---|---|---|
committer | Snehasish Kumar <snehasishk@google.com> | 2023-03-02 01:39:01 +0000 |
commit | 9a77a6f80252288d536b3aa471f241786a54068b (patch) | |
tree | 2ddb26da4a16b3c5a3b632dc30779bd66286525b /llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp | |
parent | 403926aefefb13553f89ad812b1e2385826a82ec (diff) | |
download | llvm-9a77a6f80252288d536b3aa471f241786a54068b.zip llvm-9a77a6f80252288d536b3aa471f241786a54068b.tar.gz llvm-9a77a6f80252288d536b3aa471f241786a54068b.tar.bz2 |
[memprof] Avoid meaningless pod copy
The pointer `Buffer` is not changed, so there is no need to use reference, and the `Pod` here should use reference to avoid meaningless copy.
Reviewed By: snehasish
Differential Revision: https://reviews.llvm.org/D145024
Diffstat (limited to 'llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp')
0 files changed, 0 insertions, 0 deletions