[compiler-rt] r331737 - [asan] Fix bug introduced by r331647

Walter Lee via llvm-commits llvm-commits at lists.llvm.org
Mon May 7 22:58:57 PDT 2018


Author: waltl
Date: Mon May  7 22:58:57 2018
New Revision: 331737

URL: http://llvm.org/viewvc/llvm-project?rev=331737&view=rev
Log:
[asan] Fix bug introduced by r331647

unmap_shadow_on_exit was inadvertently flipped for non-RTEMS.

Modified:
    compiler-rt/trunk/lib/asan/asan_flags.inc

Modified: compiler-rt/trunk/lib/asan/asan_flags.inc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/asan_flags.inc?rev=331737&r1=331736&r2=331737&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/asan_flags.inc (original)
+++ compiler-rt/trunk/lib/asan/asan_flags.inc Mon May  7 22:58:57 2018
@@ -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")




More information about the llvm-commits mailing list