Skip to content

Commit

Permalink
Pretend NO_MMAP because asan works better with posix_memalign
Browse files Browse the repository at this point in the history
  • Loading branch information
XrXr committed Dec 16, 2024
1 parent ac979ac commit 759f8df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gc/default/default.c
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,7 @@ enum {
/* Must define either HEAP_PAGE_ALLOC_USE_MMAP or
* INIT_HEAP_PAGE_ALLOC_USE_MMAP. */

#ifndef HAVE_MMAP
#ifdef HAVE_MMAP
/* We can't use mmap of course, if it is not available. */
static const bool HEAP_PAGE_ALLOC_USE_MMAP = false;

Expand Down

0 comments on commit 759f8df

Please sign in to comment.