As suggested in D140908, make the hasSingleAllocType helper non-static
so that it can be used in other files. Add unit testing.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D144318
[MemProf] Make hasSingleAllocType helper non-static ClosedPublic Authored by tejohnson on Feb 17 2023, 6:48 PM.
Details Summary As suggested in D140908, make the hasSingleAllocType helper non-static
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Feb 21 2023, 11:53 AM Closed by commit rG5fd82ca05b46: [MemProf] Make hasSingleAllocType helper non-static (authored by tejohnson). · Explain WhyFeb 21 2023, 12:00 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 499264 llvm/include/llvm/Analysis/MemoryProfileInfo.h
llvm/lib/Analysis/MemoryProfileInfo.cpp
llvm/unittests/Analysis/MemoryProfileInfoTest.cpp
|