[all-commits] [llvm/llvm-project] 5fd82c: [MemProf] Make hasSingleAllocType helper non-static
Teresa Johnson via All-commits
all-commits at lists.llvm.org
Tue Feb 21 12:00:23 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5fd82ca05b46487dfc73ffc06153aa3886975727
https://github.com/llvm/llvm-project/commit/5fd82ca05b46487dfc73ffc06153aa3886975727
Author: Teresa Johnson <tejohnson at google.com>
Date: 2023-02-21 (Tue, 21 Feb 2023)
Changed paths:
M llvm/include/llvm/Analysis/MemoryProfileInfo.h
M llvm/lib/Analysis/MemoryProfileInfo.cpp
M llvm/unittests/Analysis/MemoryProfileInfoTest.cpp
Log Message:
-----------
[MemProf] Make hasSingleAllocType helper non-static
As suggested in D140908, make the hasSingleAllocType helper non-static
so that it can be used in other files. Add unit testing.
Differential Revision: https://reviews.llvm.org/D144318
More information about the All-commits
mailing list