Home
last modified time | relevance | path

Searched refs:MinRZ (Results 1 – 1 of 1) sorted by relevance

/openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/
H A DAddressSanitizer.cpp2425 const uint64_t MinRZ = getMinRedzoneSizeForGlobal(); in getRedzoneSizeForGlobal() local
2428 if (SizeInBytes <= MinRZ / 2) { in getRedzoneSizeForGlobal()
2432 RZ = MinRZ - SizeInBytes; in getRedzoneSizeForGlobal()
2435 RZ = std::clamp((SizeInBytes / MinRZ / 4) * MinRZ, MinRZ, kMaxRZ); in getRedzoneSizeForGlobal()
2438 if (SizeInBytes % MinRZ) in getRedzoneSizeForGlobal()
2439 RZ += MinRZ - (SizeInBytes % MinRZ); in getRedzoneSizeForGlobal()
2442 assert((RZ + SizeInBytes) % MinRZ == 0); in getRedzoneSizeForGlobal()