This is an archive of the discontinued LLVM Phabricator instance.

Improved ASAN allocator and quarantine stats.
ClosedPublic

Authored by alekseyshl on Jan 4 2017, 3:50 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

alekseyshl updated this revision to Diff 83154.Jan 4 2017, 3:50 PM
alekseyshl retitled this revision from to Improved ASAN allocator and quarantine stats..
alekseyshl updated this object.
alekseyshl added a reviewer: eugenis.
alekseyshl added a subscriber: llvm-commits.
eugenis accepted this revision.Jan 4 2017, 4:19 PM
eugenis edited edge metadata.
eugenis added inline comments.
lib/asan/asan_memory_profile.cc
60 ↗(On Diff #83154)

Maybe add overhead stats, in bytes or percentage, either total or per allocation id.

This revision is now accepted and ready to land.Jan 4 2017, 4:19 PM
alekseyshl added inline comments.Jan 4 2017, 5:15 PM
lib/asan/asan_memory_profile.cc
60 ↗(On Diff #83154)

But only the sanitizer_allocator_* knows the actual memory size the particular chunk is using and it already can be estimated from allocator's PrintStat output, user memory / rss for each bucket.

This revision was automatically updated to reflect the committed changes.