================ Comment at: lib/sanitizer_common/sanitizer_procmaps.h:22 @@ -21,1 +21,3 @@ +const uptr kProtectionRead = 1; +const uptr kProtectionWrite = 2; ---------------- Can you move it into MemoryMappingLayout class? http://llvm-reviews.chandlerc.com/D470