This is an archive of the discontinued LLVM Phabricator instance.

[hwasan] Fix allocator_interface implementation
ClosedPublic

Authored by vitalybuka on May 24 2023, 4:52 PM.

Details

Summary

__sanitizer_get_current_allocated_bytes had as body, but allocator
caches were not registered to collect stats. It's done by
SizeClassAllocator64LocalCache::Init().

Diff Detail

Event Timeline

vitalybuka created this revision.May 24 2023, 4:52 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 24 2023, 4:52 PM
Herald added a subscriber: Enna1. · View Herald Transcript
vitalybuka requested review of this revision.May 24 2023, 4:52 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 24 2023, 4:52 PM
Herald added a subscriber: Restricted Project. · View Herald Transcript
thurston accepted this revision.May 24 2023, 5:11 PM
This revision is now accepted and ready to land.May 24 2023, 5:11 PM
This revision was automatically updated to reflect the committed changes.