Index: projects/compiler-rt/lib/sanitizer_common/sanitizer_mac.h =================================================================== --- projects/compiler-rt/lib/sanitizer_common/sanitizer_mac.h +++ projects/compiler-rt/lib/sanitizer_common/sanitizer_mac.h @@ -27,6 +27,7 @@ MACOS_VERSION_MOUNTAIN_LION, MACOS_VERSION_MAVERICKS, MACOS_VERSION_YOSEMITE, + MACOS_VERSION_UNKNOWN_NEWER }; MacosVersion GetMacosVersion(); Index: projects/compiler-rt/lib/sanitizer_common/sanitizer_mac.cc =================================================================== --- projects/compiler-rt/lib/sanitizer_common/sanitizer_mac.cc +++ projects/compiler-rt/lib/sanitizer_common/sanitizer_mac.cc @@ -298,6 +298,11 @@ case '2': return MACOS_VERSION_MOUNTAIN_LION; case '3': return MACOS_VERSION_MAVERICKS; case '4': return MACOS_VERSION_YOSEMITE; + case '5': + case '6': + case '7': + case '8': + case '9': return MACOS_VERSION_UNKNOWN_NEWER; default: return MACOS_VERSION_UNKNOWN; } }