[compiler-rt] r363104 - [Sanitizers] Add case MACOS_VERSION_CATALINA
Julian Lettner via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 11 14:54:15 PDT 2019
Author: yln
Date: Tue Jun 11 14:54:15 2019
New Revision: 363104
URL: http://llvm.org/viewvc/llvm-project?rev=363104&view=rev
Log:
[Sanitizers] Add case MACOS_VERSION_CATALINA
Reviewed By: delcypher
Differential Revision: https://reviews.llvm.org/D63096
Modified:
compiler-rt/trunk/lib/sanitizer_common/sanitizer_mac.cc
compiler-rt/trunk/lib/sanitizer_common/sanitizer_mac.h
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_mac.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_mac.cc?rev=363104&r1=363103&r2=363104&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_mac.cc (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_mac.cc Tue Jun 11 14:54:15 2019
@@ -558,8 +558,8 @@ MacosVersion GetMacosVersionInternal() {
if (minor >= 5)
return MACOS_VERSION_HIGH_SIERRA_DOT_RELEASE_4;
return MACOS_VERSION_HIGH_SIERRA;
- case 18:
- return MACOS_VERSION_MOJAVE;
+ case 18: return MACOS_VERSION_MOJAVE;
+ case 19: return MACOS_VERSION_CATALINA;
default:
if (major < 9) return MACOS_VERSION_UNKNOWN;
return MACOS_VERSION_UNKNOWN_NEWER;
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_mac.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_mac.h?rev=363104&r1=363103&r2=363104&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_mac.h (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_mac.h Tue Jun 11 14:54:15 2019
@@ -44,6 +44,7 @@ enum MacosVersion {
MACOS_VERSION_HIGH_SIERRA,
MACOS_VERSION_HIGH_SIERRA_DOT_RELEASE_4,
MACOS_VERSION_MOJAVE,
+ MACOS_VERSION_CATALINA,
MACOS_VERSION_UNKNOWN_NEWER
};
More information about the llvm-commits
mailing list