[PATCH] D63096: [Sanitizers] Add case MACOS_VERSION_CATALINA
Julian Lettner via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 10 13:47:12 PDT 2019
yln created this revision.
Herald added subscribers: llvm-commits, Sanitizers, kubamracek.
Herald added projects: Sanitizers, LLVM.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D63096
Files:
compiler-rt/lib/sanitizer_common/sanitizer_mac.cc
compiler-rt/lib/sanitizer_common/sanitizer_mac.h
Index: compiler-rt/lib/sanitizer_common/sanitizer_mac.h
===================================================================
--- compiler-rt/lib/sanitizer_common/sanitizer_mac.h
+++ compiler-rt/lib/sanitizer_common/sanitizer_mac.h
@@ -44,6 +44,7 @@
MACOS_VERSION_HIGH_SIERRA,
MACOS_VERSION_HIGH_SIERRA_DOT_RELEASE_4,
MACOS_VERSION_MOJAVE,
+ MACOS_VERSION_CATALINA,
MACOS_VERSION_UNKNOWN_NEWER
};
Index: compiler-rt/lib/sanitizer_common/sanitizer_mac.cc
===================================================================
--- compiler-rt/lib/sanitizer_common/sanitizer_mac.cc
+++ compiler-rt/lib/sanitizer_common/sanitizer_mac.cc
@@ -558,8 +558,8 @@
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;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63096.203893.patch
Type: text/x-patch
Size: 1032 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190610/b512f9d0/attachment.bin>
More information about the llvm-commits
mailing list