This is an archive of the discontinued LLVM Phabricator instance.

sanitizer_common: remove unnecessary GetMemoryProfile arg
ClosedPublic

Authored by dvyukov on Oct 29 2021, 2:47 AM.

Details

Summary

stats_size argument is unnecessary in GetMemoryProfile and in the callback.
It just clutters code. The callback knowns how many stats to expect.

Depends on D112789.

Diff Detail

Event Timeline

dvyukov created this revision.Oct 29 2021, 2:47 AM
dvyukov requested review of this revision.Oct 29 2021, 2:47 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 29 2021, 2:47 AM
Herald added a subscriber: Restricted Project. · View Herald Transcript
melver accepted this revision.Oct 29 2021, 3:16 AM
This revision is now accepted and ready to land.Oct 29 2021, 3:16 AM
This revision was automatically updated to reflect the committed changes.