This is an archive of the discontinued LLVM Phabricator instance.

[msan] Implement __sanitizer_get_current_allocated_bytes
ClosedPublic

Authored by vitalybuka on May 24 2023, 10:40 AM.

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, 10:40 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 24 2023, 10:40 AM
Herald added a subscriber: Enna1. · View Herald Transcript
vitalybuka requested review of this revision.May 24 2023, 10:40 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 24 2023, 10:40 AM
Herald added a subscriber: Restricted Project. · View Herald Transcript
kstoimenov accepted this revision.May 24 2023, 10:44 AM

Could you please provide a little bit more context around the bug that this is fixing?

This revision is now accepted and ready to land.May 24 2023, 10:44 AM

Could you please provide a little bit more context around the bug that this is fixing?

It fixes // XFAIL: msan

This revision was landed with ongoing or failed builds.May 24 2023, 10:50 AM
This revision was automatically updated to reflect the committed changes.