[asan] Fix bug introduced by r331647

unmap_shadow_on_exit was inadvertently flipped for non-RTEMS.

llvm-svn: 331737
This commit is contained in:
Walter Lee 2018-05-08 05:58:57 +00:00
parent 4e76d7fcb6
commit 47bc8f1239
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ ASAN_FLAG(
ASAN_FLAG(bool, check_malloc_usable_size, true,
"Allows the users to work around the bug in Nvidia drivers prior to "
"295.*.")
ASAN_FLAG(bool, unmap_shadow_on_exit, !SANITIZER_RTEMS,
ASAN_FLAG(bool, unmap_shadow_on_exit, false,
"If set, explicitly unmaps the (huge) shadow at exit.")
ASAN_FLAG(bool, protect_shadow_gap, !SANITIZER_RTEMS,
"If set, mprotect the shadow gap")