diff options
Diffstat (limited to 'compiler-rt/lib/lsan/lsan_common_mac.cc')
| -rw-r--r-- | compiler-rt/lib/lsan/lsan_common_mac.cc | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/lsan/lsan_common_mac.cc b/compiler-rt/lib/lsan/lsan_common_mac.cc index adde3a1b403..f87c6b7e042 100644 --- a/compiler-rt/lib/lsan/lsan_common_mac.cc +++ b/compiler-rt/lib/lsan/lsan_common_mac.cc @@ -156,7 +156,7 @@ void ProcessPlatformSpecificAllocations(Frontier *frontier) {      if (flags()->use_root_regions) {        for (uptr i = 0; i < root_regions->size(); i++) {          ScanRootRegion(frontier, (*root_regions)[i], address, end_address, -                       info.protection); +                       info.protection & kProtectionRead);        }      }  | 

