Page MenuHomePhabricator

[ASan][NFC] Refactor redzone size calculation
ClosedPublic

Authored by melver on Jun 8 2020, 2:20 AM.

Details

Summary

Refactor redzone size calculation. This will simplify changing the
redzone size calculation in future. I had done this change for another patch,
but ended up throwing away the patch. The cleanup work may still be useful.

Note that AddressSanitizer.cpp violates the latest LLVM style guide in
various ways due to capitalized function names. Only code related to the
change here was changed to adhere to the style guide.

No functional change intended.

Diff Detail

Event Timeline

melver created this revision.Jun 8 2020, 2:20 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 8 2020, 2:20 AM
melver edited the summary of this revision. (Show Details)Jun 9 2020, 11:12 AM
melver edited the summary of this revision. (Show Details)Jun 10 2020, 3:45 AM
melver added a reviewer: dvyukov.
This revision is now accepted and ready to land.Jun 12 2020, 5:33 AM
This revision was automatically updated to reflect the committed changes.