Skip to content
Commit aeef9c02 authored by Chia-hung Duan's avatar Chia-hung Duan
Browse files

[scudo] CanCache should use Size + HeadersSize instead of RoundedSize

Cached block may have nearly aligned address for a certain alignment so
that we don't have to round up the size in advance. The rounding should
only happen at determing the availability of a cached block.

Reviewed By: cferris

Differential Revision: https://reviews.llvm.org/D156582
parent 1e06b82b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment