summaryrefslogtreecommitdiff
path: root/top
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2022-01-27 11:36:00 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2022-01-27 11:38:02 -0800
commit69822de4243b40e1da10046e1c12e79703ea9a7d (patch)
tree2601e903bafa9e2f3b46d918fad299bb13d87d49 /top
parentf693539b7719ac1bd8655a5c8800c5112515f147 (diff)
downloadgnulib-69822de4243b40e1da10046e1c12e79703ea9a7d.tar.gz
alignalloc: work around AddressSanitizer bug
* doc/posix-functions/aligned_alloc.texi (aligned_alloc): Mention AddressSanitizer bug. * lib/alignalloc.h (ALIGNALLOC_VIA_ALIGNED_ALLOC): Define to 0 if AddressSanitizer is in use. * tests/test-alignalloc.c (test_alignalloc): New function, which tests for non-aligned sizes too. (main): Use it. Don’t bother checking for alignments greater than 16 MiB, as this flummoxes AddressSanitizer and there seems little point to testing them.
Diffstat (limited to 'top')
0 files changed, 0 insertions, 0 deletions