This is an archive of the discontinued LLVM Phabricator instance.

[asan] Add WriteMemoryProfile() function to measure how much dirty memory is used by shadow regions
AcceptedPublic

Authored by kubamracek on Aug 7 2017, 11:04 AM.

Details

Summary

Porting the same feature from TSan to ASan. Currently unused, but can be invoked from the debugger.

Diff Detail

Event Timeline

kubamracek created this revision.Aug 7 2017, 11:04 AM
vitalybuka added inline comments.Aug 7 2017, 3:47 PM
lib/asan/asan_mac.cc
88

Why not to make it regular functions instead of macros?

vitalybuka accepted this revision.Aug 16 2017, 11:11 PM
This revision is now accepted and ready to land.Aug 16 2017, 11:11 PM