HomePhabricator

[ASan][NFC] Refactor redzone size calculation

Authored by melver on Jun 12 2020, 5:58 AM.

Description

[ASan][NFC] Refactor redzone size calculation

Refactor redzone size calculation. This will simplify changing the
redzone size calculation in future.

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.

Reviewed By: andreyknvl

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D81367

Details

Committed
melverJun 12 2020, 6:33 AM
Reviewer
andreyknvl
Differential Revision
D81367: [ASan][NFC] Refactor redzone size calculation
Parents
rG58ea1059df97: [AST][RecoveryExpr] Build recovery expressions by default for C++.
Branches
Unknown
Tags
Unknown