summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWalter Lee <waltl@google.com>2018-05-08 05:58:57 +0000
committerWalter Lee <waltl@google.com>2018-05-08 05:58:57 +0000
commit47bc8f123955635610e27e894ec092fb170748f5 (patch)
tree1fbf431f3350912897c4736384aa0eacea1e62c1
parent4e76d7fcb69d615096a55efbb1efb0cde6550c9f (diff)
downloadbcm5719-llvm-47bc8f123955635610e27e894ec092fb170748f5.tar.gz
bcm5719-llvm-47bc8f123955635610e27e894ec092fb170748f5.zip
[asan] Fix bug introduced by r331647
unmap_shadow_on_exit was inadvertently flipped for non-RTEMS. llvm-svn: 331737
-rw-r--r--compiler-rt/lib/asan/asan_flags.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/asan/asan_flags.inc b/compiler-rt/lib/asan/asan_flags.inc
index 5dc8b60be9a..4af94c56fca 100644
--- a/compiler-rt/lib/asan/asan_flags.inc
+++ b/compiler-rt/lib/asan/asan_flags.inc
@@ -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")
OpenPOWER on IntegriCloud