This is an archive of the discontinued LLVM Phabricator instance.

[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
so that it can be used in other files. Add unit testing.

Diff Detail

Event Timeline

tejohnson created this revision.Feb 17 2023, 6:48 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 17 2023, 6:48 PM
Herald added a subscriber: hiraditya. · View Herald Transcript
tejohnson requested review of this revision.Feb 17 2023, 6:48 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 17 2023, 6:48 PM
This revision is now accepted and ready to land.Feb 21 2023, 11:53 AM
This revision was automatically updated to reflect the committed changes.