[all-commits] [llvm/llvm-project] 9a77a6: [memprof] Avoid meaningless pod copy
Wu Yingcong via All-commits
all-commits at lists.llvm.org
Wed Mar 1 17:39:14 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9a77a6f80252288d536b3aa471f241786a54068b
https://github.com/llvm/llvm-project/commit/9a77a6f80252288d536b3aa471f241786a54068b
Author: Wu, Yingcong <yingcong.wu at intel.com>
Date: 2023-03-02 (Thu, 02 Mar 2023)
Changed paths:
M compiler-rt/lib/memprof/memprof_rawprofile.cpp
Log Message:
-----------
[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
More information about the All-commits
mailing list