[PATCH] [compiler-rt] Introduce MACOS_VERSION_UNKNOWN_NEWER for OS X versions above 10.10

Kuba Brecka kuba.brecka at gmail.com
Wed Nov 5 11:49:24 PST 2014


We recently had a broken version check because an newer OS X version is treated as MACOS_VERSION_UNKNOWN which is less than all the defined values. Let's have a separate enum value for unknown but newer versions, so the ">=" and "<=" version checks still work even in upcoming OS X releases.

http://reviews.llvm.org/D6137

Files:
  projects/compiler-rt/lib/sanitizer_common/sanitizer_mac.cc
  projects/compiler-rt/lib/sanitizer_common/sanitizer_mac.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6137.15822.patch
Type: text/x-patch
Size: 1064 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141105/121058f6/attachment.bin>


More information about the llvm-commits mailing list