Dmitry Vyukov 4989779d7a asan: fix crash on odd stack size
The test currently crashes as:

AddressSanitizer: CHECK failed: asan_poisoning.cpp:38 "((AddrIsAlignedByGranularity(addr))) != (0)"

Main stack address/size don't have to be aligned on asan shadow granularity.
Align stack bottom.

Reviewed By: melver, vitalybuka

Differential Revision: https://reviews.llvm.org/D145799
2023-03-12 11:21:33 +01:00
..
2023-03-12 11:21:33 +01:00
2023-03-12 11:21:33 +01:00
2021-09-04 14:12:58 +05:30

Compiler-RT
================================

This directory and its subdirectories contain source code for the compiler
support routines.

Compiler-RT is open source software. You may freely distribute it under the
terms of the license agreement found in LICENSE.txt.

================================